Class Audit.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.xpack.usage.FeatureToggle.AbstractBuilder<Audit.Builder>
co.elastic.clients.elasticsearch.xpack.usage.Audit.Builder
- All Implemented Interfaces:
ObjectBuilder<Audit>
- Enclosing class:
- Audit
public static class Audit.Builder extends FeatureToggle.AbstractBuilder<Audit.Builder> implements ObjectBuilder<Audit>
Builder for
Audit
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description Audit
build()
Builds aAudit
.Audit.Builder
outputs(java.lang.String value, java.lang.String... values)
API name:outputs
Audit.Builder
outputs(java.util.List<java.lang.String> list)
API name:outputs
protected Audit.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.xpack.usage.FeatureToggle.AbstractBuilder
enabled
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
outputs
API name:outputs
Adds all elements of
list
tooutputs
. -
outputs
API name:outputs
Adds one or more values to
outputs
. -
self
- Specified by:
self
in classFeatureToggle.AbstractBuilder<Audit.Builder>
-
build
Builds aAudit
.- Specified by:
build
in interfaceObjectBuilder<Audit>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-