Class GetRoleMappingRequest.Builder

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.security.GetRoleMappingRequest.Builder
All Implemented Interfaces:
ObjectBuilder<GetRoleMappingRequest>
Enclosing class:
GetRoleMappingRequest

public static class GetRoleMappingRequest.Builder
extends ObjectBuilderBase
implements ObjectBuilder<GetRoleMappingRequest>
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • name

      public final GetRoleMappingRequest.Builder name​(java.util.List<java.lang.String> list)
      The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.

      API name: name

      Adds all elements of list to name.

    • name

      public final GetRoleMappingRequest.Builder name​(java.lang.String value, java.lang.String... values)
      The distinct name that identifies the role mapping. The name is used solely as an identifier to facilitate interaction via the API; it does not affect the behavior of the mapping in any way. You can specify multiple mapping names as a comma-separated list. If you do not specify this parameter, the API returns information about all role mappings.

      API name: name

      Adds one or more values to name.

    • build

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