Class CommandAllocateReplicaAction.Builder
java.lang.Object
org.opensearch.client.opensearch.cluster.reroute.CommandAllocateReplicaAction.Builder
- All Implemented Interfaces:
ObjectBuilder<CommandAllocateReplicaAction>
- Enclosing class:
- CommandAllocateReplicaAction
public static class CommandAllocateReplicaAction.Builder extends java.lang.Object implements ObjectBuilder<CommandAllocateReplicaAction>
Builder for
CommandAllocateReplicaAction.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.opensearch.client.util.ObjectBuilder
ObjectBuilder.Constant<V> -
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description CommandAllocateReplicaActionbuild()Builds aCommandAllocateReplicaAction.CommandAllocateReplicaAction.Builderindex(java.lang.String value)API name:indexCommandAllocateReplicaAction.Buildernode(java.lang.String value)API name:nodeCommandAllocateReplicaAction.Buildershard(java.lang.Number value)API name:shard
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
API name:index -
shard
API name:shard -
node
API name:node -
build
Builds aCommandAllocateReplicaAction.- Specified by:
buildin interfaceObjectBuilder<CommandAllocateReplicaAction>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-