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
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description InfoFeatureStatebuild()Builds aInfoFeatureState.InfoFeatureState.BuilderfeatureName(java.lang.String value)Required - API name:feature_nameInfoFeatureState.Builderindices(java.lang.String value, java.lang.String... values)Required - API name:indicesInfoFeatureState.Builderindices(java.util.List<java.lang.String> list)Required - API name:indicesprotected InfoFeatureState.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
featureName
Required - API name:feature_name -
indices
Required - API name:indicesAdds all elements of
listtoindices. -
indices
Required - API name:indicesAdds one or more values to
indices. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<InfoFeatureState.Builder>
-
build
Builds aInfoFeatureState.- Specified by:
buildin interfaceObjectBuilder<InfoFeatureState>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-