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.Builder
enabled
(boolean value) Required - API name:enabled
protected FeatureEnabled.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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:
self
in classWithJsonObjectBuilderBase<FeatureEnabled.Builder>
-
build
Builds aFeatureEnabled
.- Specified by:
build
in interfaceObjectBuilder<FeatureEnabled>
- Throws:
NullPointerException
- if some of the required fields are null.
-