Class CommandAllocateReplicaAction
java.lang.Object
co.elastic.clients.elasticsearch.cluster.reroute.CommandAllocateReplicaAction
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class CommandAllocateReplicaAction
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CommandAllocateReplicaAction>Json deserializer forCommandAllocateReplicaAction -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringindex()Required - API name:indexfinal Stringnode()Required - API name:nodestatic CommandAllocateReplicaActionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupCommandAllocateReplicaActionDeserializer(ObjectDeserializer<CommandAllocateReplicaAction.Builder> op) final intshard()Required - API name:shardtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCommandAllocateReplicaAction
-
-
Method Details
-
of
-
index
Required - API name:index -
shard
public final int shard()Required - API name:shard -
node
Required - API name:node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCommandAllocateReplicaActionDeserializer
protected static void setupCommandAllocateReplicaActionDeserializer(ObjectDeserializer<CommandAllocateReplicaAction.Builder> op)
-