Class CommandAllocateReplicaAction.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cluster.reroute.CommandAllocateReplicaAction.Builder
-
- All Implemented Interfaces:
ObjectBuilder<CommandAllocateReplicaAction>
- Enclosing class:
- CommandAllocateReplicaAction
public static class CommandAllocateReplicaAction.Builder extends ObjectBuilderBase implements ObjectBuilder<CommandAllocateReplicaAction>
Builder forCommandAllocateReplicaAction.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CommandAllocateReplicaActionbuild()Builds aCommandAllocateReplicaAction.CommandAllocateReplicaAction.Builderindex(java.lang.String value)Required - API name:indexCommandAllocateReplicaAction.Buildernode(java.lang.String value)Required - API name:nodeCommandAllocateReplicaAction.Buildershard(int value)Required - API name:shard-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
index
public final CommandAllocateReplicaAction.Builder index(java.lang.String value)
Required - API name:index
-
shard
public final CommandAllocateReplicaAction.Builder shard(int value)
Required - API name:shard
-
node
public final CommandAllocateReplicaAction.Builder node(java.lang.String value)
Required - API name:node
-
build
public CommandAllocateReplicaAction build()
Builds aCommandAllocateReplicaAction.- Specified by:
buildin interfaceObjectBuilder<CommandAllocateReplicaAction>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-