Class GetRoleMappingRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetRoleMappingRequest.Builder>
co.elastic.clients.elasticsearch.security.GetRoleMappingRequest.Builder
- All Implemented Interfaces:
WithJson<GetRoleMappingRequest.Builder>,ObjectBuilder<GetRoleMappingRequest>
- Enclosing class:
- GetRoleMappingRequest
public static class GetRoleMappingRequest.Builder
extends RequestBase.AbstractBuilder<GetRoleMappingRequest.Builder>
implements ObjectBuilder<GetRoleMappingRequest>
Builder for
GetRoleMappingRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetRoleMappingRequest.The distinct name that identifies the role mapping.The distinct name that identifies the role mapping.protected GetRoleMappingRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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
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. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetRoleMappingRequest.Builder>
-
build
Builds aGetRoleMappingRequest.- Specified by:
buildin interfaceObjectBuilder<GetRoleMappingRequest>- Throws:
NullPointerException- if some of the required fields are null.
-