Class FeatureEnabled.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<FeatureEnabled.Builder>
co.elastic.clients.elasticsearch.connector.FeatureEnabled.Builder
- All Implemented Interfaces:
WithJson<FeatureEnabled.Builder>,ObjectBuilder<FeatureEnabled>
- Enclosing class:
- FeatureEnabled
public static class FeatureEnabled.Builder
extends WithJsonObjectBuilderBase<FeatureEnabled.Builder>
implements ObjectBuilder<FeatureEnabled>
Builder for
FeatureEnabled.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aFeatureEnabled.final FeatureEnabled.Builderenabled(boolean value) Required - API name:enabledprotected FeatureEnabled.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Required - API name:enabled -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<FeatureEnabled.Builder>
-
build
Builds aFeatureEnabled.- Specified by:
buildin interfaceObjectBuilder<FeatureEnabled>- Throws:
NullPointerException- if some of the required fields are null.
-