Class CommandCancelAction
java.lang.Object
co.elastic.clients.elasticsearch.cluster.reroute.CommandCancelAction
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CommandCancelAction>Json deserializer forCommandCancelAction -
Method Summary
Modifier and TypeMethodDescriptionfinal BooleanAPI name:allow_primaryfinal Stringindex()Required - API name:indexfinal Stringnode()Required - API name:nodestatic CommandCancelActionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intshard()Required - API name:shardtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forCommandCancelAction
-
-
Method Details
-
of
public static CommandCancelAction of(Function<CommandCancelAction.Builder, ObjectBuilder<CommandCancelAction>> fn) -
index
Required - API name:index -
shard
public final int shard()Required - API name:shard -
node
Required - API name:node -
allowPrimary
API name:allow_primary -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCommandCancelActionDeserializer
protected static void setupCommandCancelActionDeserializer(ObjectDeserializer<CommandCancelAction.Builder> op)
-