Class WhoAmIProtectedResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.security.WhoAmIProtectedResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<WhoAmIProtectedResponse.Builder,,WhoAmIProtectedResponse> MutableBuilder<WhoAmIProtectedResponse.Builder,,WhoAmIProtectedResponse> ObjectBuilder<WhoAmIProtectedResponse>
- Enclosing class:
WhoAmIProtectedResponse
public static class WhoAmIProtectedResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<WhoAmIProtectedResponse.Builder,WhoAmIProtectedResponse>
Builder for
WhoAmIProtectedResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aWhoAmIProtectedResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:dnAPI name:is_adminisNodeCertificateRequest(Boolean value) API name:is_node_certificate_requestMethods 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<WhoAmIProtectedResponse.Builder,WhoAmIProtectedResponse> - Returns:
- a new builder instance.
-
dn
API name:dn -
isAdmin
API name:is_admin -
isNodeCertificateRequest
@Nonnull public final WhoAmIProtectedResponse.Builder isNodeCertificateRequest(@Nullable Boolean value) API name:is_node_certificate_request -
build
Builds aWhoAmIProtectedResponse.- Specified by:
buildin interfaceObjectBuilder<WhoAmIProtectedResponse>- Throws:
NullPointerException- if some of the required fields are null.
-