Class CommandMoveAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CommandMoveAction.Builder>
co.elastic.clients.elasticsearch.cluster.reroute.CommandMoveAction.Builder
- All Implemented Interfaces:
- WithJson<CommandMoveAction.Builder>,- ObjectBuilder<CommandMoveAction>
- Enclosing class:
- CommandMoveAction
public static class CommandMoveAction.Builder
extends WithJsonObjectBuilderBase<CommandMoveAction.Builder>
implements ObjectBuilder<CommandMoveAction>
Builder for 
CommandMoveAction.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aCommandMoveAction.Required - The node to move the shard fromRequired - API name:indexprotected CommandMoveAction.Builderself()shard(int value) Required - API name:shardRequired - The node to move the shard toMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
indexRequired - API name:index
- 
shardRequired - API name:shard
- 
fromNodeRequired - The node to move the shard fromAPI name: from_node
- 
toNodeRequired - The node to move the shard toAPI name: to_node
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<CommandMoveAction.Builder>
 
- 
buildBuilds aCommandMoveAction.- Specified by:
- buildin interface- ObjectBuilder<CommandMoveAction>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-