Class GetPrivilegesRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetPrivilegesRequest.Builder>
co.elastic.clients.elasticsearch.security.GetPrivilegesRequest.Builder
- All Implemented Interfaces:
- WithJson<GetPrivilegesRequest.Builder>,- ObjectBuilder<GetPrivilegesRequest>
- Enclosing class:
- GetPrivilegesRequest
public static class GetPrivilegesRequest.Builder
extends RequestBase.AbstractBuilder<GetPrivilegesRequest.Builder>
implements ObjectBuilder<GetPrivilegesRequest>
Builder for 
GetPrivilegesRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapplication(String value) The name of the application.build()Builds aGetPrivilegesRequest.The name of the privilege.The name of the privilege.protected GetPrivilegesRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
applicationThe 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
- 
nameThe name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.API name: nameAdds all elements of listtoname.
- 
nameThe name of the privilege. If you do not specify this parameter, the API returns information about all privileges for the requested application.API name: nameAdds one or more values to name.
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<GetPrivilegesRequest.Builder>
 
- 
buildBuilds aGetPrivilegesRequest.- Specified by:
- buildin interface- ObjectBuilder<GetPrivilegesRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-