Class AuthtokenResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.security.AuthtokenResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<AuthtokenResponse.Builder,,AuthtokenResponse> MutableBuilder<AuthtokenResponse.Builder,,AuthtokenResponse> ObjectBuilder<AuthtokenResponse>
- Enclosing class:
AuthtokenResponse
public static class AuthtokenResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<AuthtokenResponse.Builder,AuthtokenResponse>
Builder for
AuthtokenResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aAuthtokenResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.The message returned as part of anOKresponse.API name:statusMethods 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<AuthtokenResponse.Builder,AuthtokenResponse> - Returns:
- a new builder instance.
-
message
The message returned as part of anOKresponse.API name:
message -
status
API name:status -
build
Builds aAuthtokenResponse.- Specified by:
buildin interfaceObjectBuilder<AuthtokenResponse>- Throws:
NullPointerException- if some of the required fields are null.
-