Class RemoveIndexAction.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RemoveIndexAction.Builder>
co.elastic.clients.elasticsearch.indices.update_aliases.RemoveIndexAction.Builder
- All Implemented Interfaces:
WithJson<RemoveIndexAction.Builder>,ObjectBuilder<RemoveIndexAction>
- Enclosing class:
- RemoveIndexAction
public static class RemoveIndexAction.Builder
extends WithJsonObjectBuilderBase<RemoveIndexAction.Builder>
implements ObjectBuilder<RemoveIndexAction>
Builder for
RemoveIndexAction.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aRemoveIndexAction.Data stream or index for the action.Data streams or indices for the action.Data streams or indices for the action.Iftrue, the alias must exist to perform the action.protected RemoveIndexAction.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
-
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<RemoveIndexAction.Builder>
-
build
Builds aRemoveIndexAction.- Specified by:
buildin interfaceObjectBuilder<RemoveIndexAction>- Throws:
NullPointerException- if some of the required fields are null.
-