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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<CommandAllocateReplicaAction>
Json deserializer forCommandAllocateReplicaAction
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
index()
Required - API name:index
final String
node()
Required - API name:node
static CommandAllocateReplicaAction
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
setupCommandAllocateReplicaActionDeserializer
(ObjectDeserializer<CommandAllocateReplicaAction.Builder> op) final int
shard()
Required - API name:shard
toString()
-
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCommandAllocateReplicaActionDeserializer
protected static void setupCommandAllocateReplicaActionDeserializer(ObjectDeserializer<CommandAllocateReplicaAction.Builder> op)
-