Class CommandAllocateReplicaAction
java.lang.Object
org.opensearch.client.opensearch.cluster.reroute.CommandAllocateReplicaAction
- All Implemented Interfaces:
ToJsonp
public final class CommandAllocateReplicaAction extends java.lang.Object implements ToJsonp
-
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 for CommandAllocateReplicaAction -
Constructor Summary
Constructors Modifier Constructor Description protectedCommandAllocateReplicaAction(CommandAllocateReplicaAction.Builder builder) -
Method Summary
Modifier and Type Method Description java.lang.Stringindex()API name:indexjava.lang.Stringnode()API name:nodeprotected static voidsetupCommandAllocateReplicaActionDeserializer(DelegatingDeserializer<CommandAllocateReplicaAction.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)
-
Field Details
-
DESERIALIZER
Json deserializer for CommandAllocateReplicaAction
-
-
Constructor Details
-
Method Details
-
index
public java.lang.String index()API name:index -
shard
public java.lang.Number shard()API name:shard -
node
public java.lang.String node()API name:node -
toJsonp
Serialize this object to JSON. -
toJsonpInternal
-
setupCommandAllocateReplicaActionDeserializer
protected static void setupCommandAllocateReplicaActionDeserializer(DelegatingDeserializer<CommandAllocateReplicaAction.Builder> op)
-