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>
Builder for
GetRoleMappingRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetRoleMappingRequestbuild()Builds aGetRoleMappingRequest.GetRoleMappingRequest.Buildername(java.lang.String value, java.lang.String... values)The distinct name that identifies the role mapping.GetRoleMappingRequest.Buildername(java.util.List<java.lang.String> list)The distinct name that identifies the role mapping.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
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:
nameAdds all elements of
listtoname. -
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:
nameAdds one or more values to
name. -
build
Builds aGetRoleMappingRequest.- Specified by:
buildin interfaceObjectBuilder<GetRoleMappingRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-