Class ShardStore.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ShardStore.Builder>
co.elastic.clients.elasticsearch.indices.shard_stores.ShardStore.Builder
- All Implemented Interfaces:
WithJson<ShardStore.Builder>,ObjectBuilder<ShardStore>
- Enclosing class:
- ShardStore
public static class ShardStore.Builder
extends WithJsonObjectBuilderBase<ShardStore.Builder>
implements ObjectBuilder<ShardStore>
Builder for
ShardStore.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal ShardStore.Builderallocation(ShardStoreAllocation value) Required - API name:allocationfinal ShardStore.BuilderallocationId(String value) API name:allocation_idbuild()Builds aShardStore.final ShardStore.Buildernode(ShardStoreNode value) Required -final ShardStore.BuilderRequired -final ShardStore.BuilderRequired -protected ShardStore.Builderself()final ShardStore.BuilderAPI name:store_exceptionfinal ShardStore.BuilderAPI name:store_exceptionMethods 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
-
nodeId
Required - -
node
Required - -
node
public final ShardStore.Builder node(Function<ShardStoreNode.Builder, ObjectBuilder<ShardStoreNode>> fn) Required - -
allocation
Required - API name:allocation -
allocationId
API name:allocation_id -
storeException
API name:store_exception -
storeException
public final ShardStore.Builder storeException(Function<ShardStoreException.Builder, ObjectBuilder<ShardStoreException>> fn) API name:store_exception -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ShardStore.Builder>
-
build
Builds aShardStore.- Specified by:
buildin interfaceObjectBuilder<ShardStore>- Throws:
NullPointerException- if some of the required fields are null.
-