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
-
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.Builder
self()
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods 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:
indices
Adds all elements of
list
toindices
. -
indices
Data streams or indices for the action. Supports wildcards (*
).API name:
indices
Adds one or more values to
indices
. -
mustExist
Iftrue
, the alias must exist to perform the action.API name:
must_exist
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<RemoveIndexAction.Builder>
-
build
Builds aRemoveIndexAction
.- Specified by:
build
in interfaceObjectBuilder<RemoveIndexAction>
- Throws:
NullPointerException
- if some of the required fields are null.
-