Class RemoveAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RemoveAction.Builder>
co.elastic.clients.elasticsearch.indices.update_aliases.RemoveAction.Builder
- All Implemented Interfaces:
WithJson<RemoveAction.Builder>,ObjectBuilder<RemoveAction>
- Enclosing class:
- RemoveAction
public static class RemoveAction.Builder
extends WithJsonObjectBuilderBase<RemoveAction.Builder>
implements ObjectBuilder<RemoveAction>
Builder for
RemoveAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal RemoveAction.BuilderAlias for the action.final RemoveAction.BuilderAliases for the action.final RemoveAction.BuilderAliases for the action.build()Builds aRemoveAction.final RemoveAction.BuilderData stream or index for the action.final RemoveAction.BuilderData streams or indices for the action.final RemoveAction.BuilderData streams or indices for the action.final RemoveAction.BuilderIftrue, the alias must exist to perform the action.protected RemoveAction.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. -
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. -
mustExist
Iftrue, the alias must exist to perform the action.API name:
must_exist -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<RemoveAction.Builder>
-
build
Builds aRemoveAction.- Specified by:
buildin interfaceObjectBuilder<RemoveAction>- Throws:
NullPointerException- if some of the required fields are null.
-