Class AllocateReplicaAllocationCommand.Builder
java.lang.Object
org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder<AllocateReplicaAllocationCommand>
org.elasticsearch.cluster.routing.allocation.command.AllocateReplicaAllocationCommand.Builder
- Enclosing class:
- AllocateReplicaAllocationCommand
protected static class AllocateReplicaAllocationCommand.Builder extends AbstractAllocateAllocationCommand.Builder<AllocateReplicaAllocationCommand>
-
Field Summary
Fields inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
index, node, shard
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
-
Method Summary
Modifier and Type Method Description AllocateReplicaAllocationCommand
build()
AllocateReplicaAllocationCommand.Builder
parse(org.elasticsearch.common.xcontent.XContentParser parser)
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
setIndex, setNode, setShard, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
parse
public AllocateReplicaAllocationCommand.Builder parse(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Specified by:
parse
in classAbstractAllocateAllocationCommand.Builder<AllocateReplicaAllocationCommand>
- Throws:
java.io.IOException
-
build
- Specified by:
build
in classAbstractAllocateAllocationCommand.Builder<AllocateReplicaAllocationCommand>
-