Class AddAction
java.lang.Object
co.elastic.clients.elasticsearch.indices.update_aliases.AddAction
- All Implemented Interfaces:
ActionVariant,JsonpSerializable
@JsonpDeserializable
public class AddAction
extends Object
implements ActionVariant, JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<AddAction>Json deserializer forAddAction -
Method Summary
Modifier and TypeMethodDescriptionAction variant kind.final Stringalias()Alias for the action.aliases()Aliases for the action.final Queryfilter()Query used to limit documents the alias can access.final Stringindex()Data stream or index for the action.final StringValue used to route indexing operations to a specific shard.indices()Data streams or indices for the action.final BooleanisHidden()Iftrue, the alias is hidden.final BooleanIftrue, sets the write index or data stream for the alias.final BooleanIftrue, the alias must exist to perform the action.static AddActionfinal Stringrouting()Value used to route indexing and search operations to a specific shard.final StringValue used to route search operations to a specific shard.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.indices.update_aliases.ActionVariant
_toAction
-
Field Details
-
_DESERIALIZER
Json deserializer forAddAction
-
-
Method Details
-
of
-
_actionKind
Action variant kind.- Specified by:
_actionKindin interfaceActionVariant
-
alias
Alias for the action. Index alias names support date math.API name:
alias -
aliases
Aliases for the action. Index alias names support date math.API name:
aliases -
filter
Query used to limit documents the alias can access.API name:
filter -
index
Data stream or index for the action. Supports wildcards (*).API name:
index -
indices
Data streams or indices for the action. Supports wildcards (*).API name:
indices -
indexRouting
Value used to route indexing operations to a specific shard. If specified, this overwrites theroutingvalue for indexing operations. Data stream aliases don’t support this parameter.API name:
index_routing -
isHidden
Iftrue, the alias is hidden.API name:
is_hidden -
isWriteIndex
Iftrue, sets the write index or data stream for the alias.API name:
is_write_index -
routing
Value used to route indexing and search operations to a specific shard. Data stream aliases don’t support this parameter.API name:
routing -
searchRouting
Value used to route search operations to a specific shard. If specified, this overwrites theroutingvalue for search operations. Data stream aliases don’t support this parameter.API name:
search_routing -
mustExist
Iftrue, the alias must exist to perform the action.API name:
must_exist -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAddActionDeserializer
-