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