Class AuthinfoRequest.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.RequestBase.AbstractBuilder<AuthinfoRequest.Builder>
org.opensearch.client.opensearch.security.AuthinfoRequest.Builder
- All Implemented Interfaces:
CopyableBuilder<AuthinfoRequest.Builder,,AuthinfoRequest> MutableBuilder<AuthinfoRequest.Builder,,AuthinfoRequest> ObjectBuilder<AuthinfoRequest>
- Enclosing class:
AuthinfoRequest
public static class AuthinfoRequest.Builder
extends RequestBase.AbstractBuilder<AuthinfoRequest.Builder>
implements CopyableBuilder<AuthinfoRequest.Builder,AuthinfoRequest>
Builder for
AuthinfoRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal AuthinfoRequest.BuilderThe type of the current authentication request.build()Builds aAuthinfoRequest.copy()Create a new builderCopyableBuilderthat is a copy of this one.protected AuthinfoRequest.Builderself()final AuthinfoRequest.BuilderWhether to return a verbose response.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<AuthinfoRequest.Builder,AuthinfoRequest> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classRequestBase.AbstractBuilder<AuthinfoRequest.Builder>
-
authType
The type of the current authentication request.API name:
auth_type -
verbose
Whether to return a verbose response.API name:
verbose -
build
Builds aAuthinfoRequest.- Specified by:
buildin interfaceObjectBuilder<AuthinfoRequest>- Throws:
NullPointerException- if some of the required fields are null.
-