public static class AllocateEmptyPrimaryAllocationCommand.Builder extends BasePrimaryAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
acceptDataLoss
index, node, shard
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AllocateEmptyPrimaryAllocationCommand |
build() |
AllocateEmptyPrimaryAllocationCommand.Builder |
parse(XContentParser parser) |
setAcceptDataLoss
setIndex, setNode, setShard, validate
public AllocateEmptyPrimaryAllocationCommand.Builder parse(XContentParser parser) throws java.io.IOException
parse
in class AbstractAllocateAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>
java.io.IOException
public AllocateEmptyPrimaryAllocationCommand build()
build
in class AbstractAllocateAllocationCommand.Builder<AllocateEmptyPrimaryAllocationCommand>