Class AddAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<AddAction.Builder>
co.elastic.clients.elasticsearch.indices.update_aliases.AddAction.Builder
- All Implemented Interfaces:
WithJson<AddAction.Builder>,ObjectBuilder<AddAction>
- Enclosing class:
- AddAction
public static class AddAction.Builder
extends WithJsonObjectBuilderBase<AddAction.Builder>
implements ObjectBuilder<AddAction>
Builder for
AddAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AddAction.BuilderAlias for the action.final AddAction.BuilderAliases for the action.final AddAction.BuilderAliases for the action.build()Builds aAddAction.final AddAction.BuilderQuery used to limit documents the alias can access.final AddAction.Builderfilter(QueryVariant value) Query used to limit documents the alias can access.final AddAction.BuilderQuery used to limit documents the alias can access.final AddAction.BuilderData stream or index for the action.final AddAction.BuilderindexRouting(String value) Value used to route indexing operations to a specific shard.final AddAction.BuilderData streams or indices for the action.final AddAction.BuilderData streams or indices for the action.final AddAction.BuilderIftrue, the alias is hidden.final AddAction.BuilderisWriteIndex(Boolean value) Iftrue, sets the write index or data stream for the alias.final AddAction.BuilderIftrue, the alias must exist to perform the action.final AddAction.BuilderValue used to route indexing and search operations to a specific shard.final AddAction.BuildersearchRouting(String value) Value used to route search operations to a specific shard.protected AddAction.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
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:
aliasesAdds all elements of
listtoaliases. -
aliases
Aliases for the action. Index alias names support date math.API name:
aliasesAdds one or more values to
aliases. -
filter
Query used to limit documents the alias can access.API name:
filter -
filter
Query used to limit documents the alias can access.API name:
filter -
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:
indicesAdds all elements of
listtoindices. -
indices
Data streams or indices for the action. Supports wildcards (*).API name:
indicesAdds one or more values to
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 -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<AddAction.Builder>
-
build
Builds aAddAction.- Specified by:
buildin interfaceObjectBuilder<AddAction>- Throws:
NullPointerException- if some of the required fields are null.
-