Class AllocateEmptyPrimaryAllocationCommand.Builder
java.lang.Object
org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder<T>
org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
org.elasticsearch.cluster.routing.allocation.command.AllocateEmptyPrimaryAllocationCommand.Builder
- Enclosing class:
- AllocateEmptyPrimaryAllocationCommand
public static class AllocateEmptyPrimaryAllocationCommand.Builder extends BasePrimaryAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
-
Field Summary
Fields inherited from class org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder
acceptDataLoss
Fields inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
index, node, shard
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description AllocateEmptyPrimaryAllocationCommand
build()
AllocateEmptyPrimaryAllocationCommand.Builder
parse(XContentParser parser)
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.BasePrimaryAllocationCommand.Builder
setAcceptDataLoss
Methods inherited from class org.elasticsearch.cluster.routing.allocation.command.AbstractAllocateAllocationCommand.Builder
setIndex, setNode, setShard, validate
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
parse
public AllocateEmptyPrimaryAllocationCommand.Builder parse(XContentParser parser) throws java.io.IOException- Specified by:
parse
in classAbstractAllocateAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
- Throws:
java.io.IOException
-
build
- Specified by:
build
in classAbstractAllocateAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
-