Class CommandAllocateReplicaAction
java.lang.Object
co.elastic.clients.elasticsearch.cluster.reroute.CommandAllocateReplicaAction
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class CommandAllocateReplicaAction extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandAllocateReplicaAction.BuilderBuilder forCommandAllocateReplicaAction. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CommandAllocateReplicaAction>_DESERIALIZERJson deserializer forCommandAllocateReplicaAction -
Constructor Summary
Constructors Constructor Description CommandAllocateReplicaAction(CommandAllocateReplicaAction.Builder builder)CommandAllocateReplicaAction(java.util.function.Function<CommandAllocateReplicaAction.Builder,CommandAllocateReplicaAction.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.Stringindex()API name:indexjava.lang.Stringnode()API name:nodevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCommandAllocateReplicaActionDeserializer(DelegatingDeserializer<CommandAllocateReplicaAction.Builder> op)intshard()API name:shardMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forCommandAllocateReplicaAction
-
-
Constructor Details
-
CommandAllocateReplicaAction
-
CommandAllocateReplicaAction
public CommandAllocateReplicaAction(java.util.function.Function<CommandAllocateReplicaAction.Builder,CommandAllocateReplicaAction.Builder> fn)
-
-
Method Details
-
index
public java.lang.String index()API name:index -
shard
public int shard()API name:shard -
node
public java.lang.String node()API name:node -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupCommandAllocateReplicaActionDeserializer
protected static void setupCommandAllocateReplicaActionDeserializer(DelegatingDeserializer<CommandAllocateReplicaAction.Builder> op)
-