Class RemoveAction.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.update_aliases.RemoveAction.Builder
- All Implemented Interfaces:
CopyableBuilder<RemoveAction.Builder,,RemoveAction> MutableBuilder<RemoveAction.Builder,,RemoveAction> ObjectBuilder<RemoveAction>
- Enclosing class:
RemoveAction
public static class RemoveAction.Builder
extends ObjectBuilderBase
implements CopyableBuilder<RemoveAction.Builder,RemoveAction>
Builder for
RemoveAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal RemoveAction.BuilderAPI name:aliasfinal RemoveAction.BuilderThe list of aliases to remove.final RemoveAction.BuilderThe list of aliases to remove.build()Builds aRemoveAction.copy()Create a new builderCopyableBuilderthat is a copy of this one.final RemoveAction.BuilderAPI name:indexfinal RemoveAction.BuilderAPI name:indicesfinal RemoveAction.BuilderAPI name:indicesfinal RemoveAction.BuilderWhether the alias must exist to perform the action.Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<RemoveAction.Builder,RemoveAction> - Returns:
- a new builder instance.
-
alias
API name:alias -
aliases
The list of aliases to remove. Index alias names support date math.API name:
aliasesAdds all elements of
listtoaliases. -
aliases
The list of aliases to remove. Index alias names support date math.API name:
aliasesAdds one or more values to
aliases. -
index
API name:index -
indices
API name:indicesAdds all elements of
listtoindices. -
indices
API name:indicesAdds one or more values to
indices. -
mustExist
Whether the alias must exist to perform the action.API name:
must_exist -
build
Builds aRemoveAction.- Specified by:
buildin interfaceObjectBuilder<RemoveAction>- Throws:
NullPointerException- if some of the required fields are null.
-