Class BulkDeleteRoleRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<BulkDeleteRoleRequest.Builder>
co.elastic.clients.elasticsearch.security.BulkDeleteRoleRequest.Builder
- All Implemented Interfaces:
WithJson<BulkDeleteRoleRequest.Builder>
,ObjectBuilder<BulkDeleteRoleRequest>
- Enclosing class:
- BulkDeleteRoleRequest
public static class BulkDeleteRoleRequest.Builder
extends RequestBase.AbstractBuilder<BulkDeleteRoleRequest.Builder>
implements ObjectBuilder<BulkDeleteRoleRequest>
Builder for
BulkDeleteRoleRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aBulkDeleteRoleRequest
.Required - An array of role names to deleteRequired - An array of role names to deleteIftrue
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.protected BulkDeleteRoleRequest.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
-
names
Required - An array of role names to deleteAPI name:
names
Adds all elements of
list
tonames
. -
names
Required - An array of role names to deleteAPI name:
names
Adds one or more values to
names
. -
refresh
Iftrue
(the default) then refresh the affected shards to make this operation visible to search, ifwait_for
then wait for a refresh to make this operation visible to search, iffalse
then do nothing with refreshes.API name:
refresh
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<BulkDeleteRoleRequest.Builder>
-
build
Builds aBulkDeleteRoleRequest
.- Specified by:
build
in interfaceObjectBuilder<BulkDeleteRoleRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-