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>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • application

      public final GetUserPrivilegesRequest.Builder application​(@Nullable java.lang.String value)
      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

      public final GetUserPrivilegesRequest.Builder priviledge​(@Nullable java.lang.String value)
      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

      public GetUserPrivilegesRequest build()
      Specified by:
      build in interface ObjectBuilder<GetUserPrivilegesRequest>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.