Class RemoveAction
java.lang.Object
org.opensearch.client.opensearch.indices.update_aliases.RemoveAction
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ActionVariant,ToCopyableBuilder<RemoveAction.Builder,RemoveAction>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RemoveAction
extends Object
implements ActionVariant, PlainJsonSerializable, ToCopyableBuilder<RemoveAction.Builder,RemoveAction>
The configuration for removing an alias.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoveAction> Json deserializer forRemoveAction -
Method Summary
Modifier and TypeMethodDescriptionActionvariant kind.final Stringalias()API name:aliasaliases()The list of aliases to remove.static RemoveAction.Builderbuilder()booleaninthashCode()final Stringindex()API name:indexindices()API name:indicesfinal BooleanWhether the alias must exist to perform the action.static RemoveActionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.opensearch.indices.update_aliases.ActionVariant
toActionMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forRemoveAction
-
-
Method Details
-
of
-
_actionKind
Actionvariant kind.- Specified by:
_actionKindin interfaceActionVariant
-
alias
API name:alias -
aliases
The list of aliases to remove. Index alias names support date math.API name:
aliases -
index
API name:index -
indices
API name:indices -
mustExist
Whether the alias must exist to perform the action.API name:
must_exist -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RemoveAction.Builder,RemoveAction> - Returns:
- a new builder instance.
-
builder
-
setupRemoveActionDeserializer
-
hashCode
public int hashCode() -
equals
-