Class CommandCancelAction
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.reroute.CommandCancelAction
-
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class CommandCancelAction extends java.lang.Object implements JsonpSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommandCancelAction.BuilderBuilder forCommandCancelAction.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<CommandCancelAction>_DESERIALIZERJson deserializer forCommandCancelAction
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleanallowPrimary()API name:allow_primaryjava.lang.Stringindex()Required - API name:indexjava.lang.Stringnode()Required - API name:nodestatic CommandCancelActionof(java.util.function.Function<CommandCancelAction.Builder,ObjectBuilder<CommandCancelAction>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupCommandCancelActionDeserializer(ObjectDeserializer<CommandCancelAction.Builder> op)intshard()Required - API name:shard
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<CommandCancelAction> _DESERIALIZER
Json deserializer forCommandCancelAction
-
-
Method Detail
-
of
public static CommandCancelAction of(java.util.function.Function<CommandCancelAction.Builder,ObjectBuilder<CommandCancelAction>> fn)
-
index
public final java.lang.String index()
Required - API name:index
-
shard
public final int shard()
Required - API name:shard
-
node
public final java.lang.String node()
Required - API name:node
-
allowPrimary
@Nullable public final java.lang.Boolean allowPrimary()
API name:allow_primary
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupCommandCancelActionDeserializer
protected static void setupCommandCancelActionDeserializer(ObjectDeserializer<CommandCancelAction.Builder> op)
-
-