Class GetRoleMappingRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<GetRoleMappingRequest.Builder>
org.opensearch.client.opensearch.security.GetRoleMappingRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<GetRoleMappingRequest.Builder,,GetRoleMappingRequest> MutableBuilder<GetRoleMappingRequest.Builder,,GetRoleMappingRequest> ObjectBuilder<GetRoleMappingRequest>
- Enclosing class:
GetRoleMappingRequest
public static class GetRoleMappingRequest.Builder
extends RequestBase.AbstractBuilder<GetRoleMappingRequest.Builder>
implements CopyableBuilder<GetRoleMappingRequest.Builder,GetRoleMappingRequest>
Builder for
GetRoleMappingRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetRoleMappingRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - The name of the role mapping to retrieve.protected GetRoleMappingRequest.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder
errorTrace, humanMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<GetRoleMappingRequest.Builder,GetRoleMappingRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetRoleMappingRequest.Builder>
-
role
Required - The name of the role mapping to retrieve.API name:
role -
build
Builds aGetRoleMappingRequest.- Specified by:
buildin interfaceObjectBuilder<GetRoleMappingRequest>- Throws:
NullPointerException- if some of the required fields are null.
-