Class AddAction.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.indices.update_aliases.AddAction.Builder
- All Implemented Interfaces:
CopyableBuilder<AddAction.Builder,,AddAction> MutableBuilder<AddAction.Builder,,AddAction> ObjectBuilder<AddAction>
- Enclosing class:
AddAction
public static class AddAction.Builder
extends ObjectBuilderBase
implements CopyableBuilder<AddAction.Builder,AddAction>
Builder for
AddAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AddAction.BuilderAPI name:aliasfinal AddAction.BuilderThe list of aliases to add.final AddAction.BuilderThe list of aliases to add.build()Builds aAddAction.copy()Create a new builderCopyableBuilderthat is a copy of this one.final AddAction.BuilderAPI name:filterfinal AddAction.BuilderAPI name:filterfinal AddAction.BuilderAPI name:indexfinal AddAction.BuilderindexRouting(String value) API name:index_routingfinal AddAction.BuilderAPI name:indicesfinal AddAction.BuilderAPI name:indicesfinal AddAction.BuilderWhether the alias is hidden.final AddAction.BuilderisWriteIndex(Boolean value) Whether this is the write index or data stream for the alias.final AddAction.BuilderWhether the alias must exist to perform the action.final AddAction.BuilderAPI name:routingfinal AddAction.BuildersearchRouting(String value) API name:search_routingMethods 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<AddAction.Builder,AddAction> - Returns:
- a new builder instance.
-
alias
API name:alias -
aliases
The list of aliases to add. Index alias names support date math.API name:
aliasesAdds all elements of
listtoaliases. -
aliases
The list of aliases to add. Index alias names support date math.API name:
aliasesAdds one or more values to
aliases. -
filter
API name:filter -
filter
API name:filter -
index
API name:index -
indexRouting
API name:index_routing -
indices
API name:indicesAdds all elements of
listtoindices. -
indices
API name:indicesAdds one or more values to
indices. -
isHidden
Whether the alias is hidden.API name:
is_hidden -
isWriteIndex
Whether this is the write index or data stream for the alias.API name:
is_write_index -
mustExist
Whether the alias must exist to perform the action.API name:
must_exist -
routing
API name:routing -
searchRouting
API name:search_routing -
build
Builds aAddAction.- Specified by:
buildin interfaceObjectBuilder<AddAction>- Throws:
NullPointerException- if some of the required fields are null.
-