Class GetUserPrivilegesRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.security.GetUserPrivilegesRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class GetUserPrivilegesRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetUserPrivilegesRequest.Builder
Builder forGetUserPrivilegesRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetUserPrivilegesRequest,GetUserPrivilegesResponse,ElasticsearchError>
ENDPOINT
Endpoint "security.get_user_privileges
". -
Constructor Summary
Constructors Constructor Description GetUserPrivilegesRequest(GetUserPrivilegesRequest.Builder builder)
GetUserPrivilegesRequest(java.util.function.Function<GetUserPrivilegesRequest.Builder,GetUserPrivilegesRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
application()
The name of the application.java.lang.String
priviledge()
The name of the privilege.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
public static final Endpoint<GetUserPrivilegesRequest,GetUserPrivilegesResponse,ElasticsearchError> ENDPOINTEndpoint "security.get_user_privileges
".
-
-
Constructor Details
-
GetUserPrivilegesRequest
-
GetUserPrivilegesRequest
public GetUserPrivilegesRequest(java.util.function.Function<GetUserPrivilegesRequest.Builder,GetUserPrivilegesRequest.Builder> fn)
-
-
Method Details
-
application
@Nullable public java.lang.String 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
@Nullable public java.lang.String 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
-