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
-
Method Summary
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
setIndex, setNode, setShard, validate
-
Constructor Details
-
Builder
protected Builder()
-
-
Method Details
-
parse
public AllocateReplicaAllocationCommand.Builder parse(org.elasticsearch.common.xcontent.XContentParser parser) throws IOException- Specified by:
parse
in classAbstractAllocateAllocationCommand.Builder<AllocateReplicaAllocationCommand>
- Throws:
IOException
-
build
- Specified by:
build
in classAbstractAllocateAllocationCommand.Builder<AllocateReplicaAllocationCommand>
-