Class ClearCachedPrivilegesRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ClearCachedPrivilegesRequest.Builder>
co.elastic.clients.elasticsearch.security.ClearCachedPrivilegesRequest.Builder
- All Implemented Interfaces:
WithJson<ClearCachedPrivilegesRequest.Builder>
,ObjectBuilder<ClearCachedPrivilegesRequest>
- Enclosing class:
- ClearCachedPrivilegesRequest
public static class ClearCachedPrivilegesRequest.Builder
extends RequestBase.AbstractBuilder<ClearCachedPrivilegesRequest.Builder>
implements ObjectBuilder<ClearCachedPrivilegesRequest>
Builder for
ClearCachedPrivilegesRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapplication
(String value) Required - A comma-separated list of application namesbuild()
Builds aClearCachedPrivilegesRequest
.protected ClearCachedPrivilegesRequest.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
-
application
Required - A comma-separated list of application namesAPI name:
application
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<ClearCachedPrivilegesRequest.Builder>
-
build
Builds aClearCachedPrivilegesRequest
.- Specified by:
build
in interfaceObjectBuilder<ClearCachedPrivilegesRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-