Class GetUserPrivilegesRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.GetUserPrivilegesRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetUserPrivilegesRequest>
- Enclosing class:
- GetUserPrivilegesRequest
public static class GetUserPrivilegesRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetUserPrivilegesRequest>
Builder for
GetUserPrivilegesRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetUserPrivilegesRequest.Builder
application(java.lang.String value)
The name of the application.GetUserPrivilegesRequest
build()
Builds aGetUserPrivilegesRequest
.GetUserPrivilegesRequest.Builder
priviledge(java.lang.String value)
The name of the privilege.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
application
The name of the application. Application privileges are always associated with exactly one application. If you do not specify this parameter, the API returns information about all privileges for all applications.API name:
application
-
priviledge
The name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.API name:
priviledge
-
build
Builds aGetUserPrivilegesRequest
.- Specified by:
build
in interfaceObjectBuilder<GetUserPrivilegesRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-