Class CommandMoveAction
java.lang.Object
co.elastic.clients.elasticsearch.cluster.reroute.CommandMoveAction
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CommandMoveAction>Json deserializer forCommandMoveAction -
Method Summary
Modifier and TypeMethodDescriptionfinal StringfromNode()Required - The node to move the shard fromfinal Stringindex()Required - API name:indexstatic CommandMoveActionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intshard()Required - API name:shardfinal StringtoNode()Required - The node to move the shard totoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCommandMoveAction
-
-
Method Details
-
of
public static CommandMoveAction of(Function<CommandMoveAction.Builder, ObjectBuilder<CommandMoveAction>> fn) -
index
Required - API name:index -
shard
public final int shard()Required - API name:shard -
fromNode
Required - The node to move the shard fromAPI name:
from_node -
toNode
Required - The node to move the shard toAPI name:
to_node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCommandMoveActionDeserializer
protected static void setupCommandMoveActionDeserializer(ObjectDeserializer<CommandMoveAction.Builder> op)
-