Class CommandCancelAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CommandCancelAction.Builder>
co.elastic.clients.elasticsearch.cluster.reroute.CommandCancelAction.Builder
- All Implemented Interfaces:
WithJson<CommandCancelAction.Builder>,ObjectBuilder<CommandCancelAction>
- Enclosing class:
- CommandCancelAction
public static class CommandCancelAction.Builder
extends WithJsonObjectBuilderBase<CommandCancelAction.Builder>
implements ObjectBuilder<CommandCancelAction>
Builder for
CommandCancelAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowPrimary(Boolean value) API name:allow_primarybuild()Builds aCommandCancelAction.Required - API name:indexRequired - API name:nodeprotected CommandCancelAction.Builderself()shard(int value) Required - API name:shardMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
index
Required - API name:index -
shard
Required - API name:shard -
node
Required - API name:node -
allowPrimary
API name:allow_primary -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<CommandCancelAction.Builder>
-
build
Builds aCommandCancelAction.- Specified by:
buildin interfaceObjectBuilder<CommandCancelAction>- Throws:
NullPointerException- if some of the required fields are null.
-