Class CommandMoveAction
java.lang.Object
org.opensearch.client.opensearch.cluster.reroute.CommandMoveAction
- All Implemented Interfaces:
ToJsonp
public final class CommandMoveAction extends java.lang.Object implements ToJsonp
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandMoveAction.BuilderBuilder forCommandMoveAction. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CommandMoveAction>DESERIALIZERJson deserializer for CommandMoveAction -
Constructor Summary
Constructors Modifier Constructor Description protectedCommandMoveAction(CommandMoveAction.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.StringfromNode()The node to move the shard from API name:from_nodejava.lang.Stringindex()API name:indexprotected static voidsetupCommandMoveActionDeserializer(DelegatingDeserializer<CommandMoveAction.Builder> op)java.lang.Numbershard()API name:shardvoidtoJsonp(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidtoJsonpInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)java.lang.StringtoNode()The node to move the shard to API name:to_node
-
Field Details
-
DESERIALIZER
Json deserializer for CommandMoveAction
-
-
Constructor Details
-
Method Details
-
index
public java.lang.String index()API name:index -
shard
public java.lang.Number shard()API name:shard -
fromNode
public java.lang.String fromNode()The node to move the shard from API name:from_node -
toNode
public java.lang.String toNode()The node to move the shard to API name:to_node -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupCommandMoveActionDeserializer
protected static void setupCommandMoveActionDeserializer(DelegatingDeserializer<CommandMoveAction.Builder> op)
-