Class InfoFeatureState.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<InfoFeatureState.Builder>
co.elastic.clients.elasticsearch.snapshot.InfoFeatureState.Builder
- All Implemented Interfaces:
WithJson<InfoFeatureState.Builder>
,ObjectBuilder<InfoFeatureState>
- Enclosing class:
- InfoFeatureState
public static class InfoFeatureState.Builder
extends WithJsonObjectBuilderBase<InfoFeatureState.Builder>
implements ObjectBuilder<InfoFeatureState>
Builder for
InfoFeatureState
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aInfoFeatureState
.final InfoFeatureState.Builder
featureName
(String value) Required - API name:feature_name
final InfoFeatureState.Builder
Required - API name:indices
final InfoFeatureState.Builder
Required - API name:indices
protected InfoFeatureState.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
-
featureName
Required - API name:feature_name
-
indices
Required - API name:indices
Adds all elements of
list
toindices
. -
indices
Required - API name:indices
Adds one or more values to
indices
. -
self
- Specified by:
self
in classWithJsonObjectBuilderBase<InfoFeatureState.Builder>
-
build
Builds aInfoFeatureState
.- Specified by:
build
in interfaceObjectBuilder<InfoFeatureState>
- Throws:
NullPointerException
- if some of the required fields are null.
-