Class AuthinfoRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.AuthinfoRequest
- All Implemented Interfaces:
ToCopyableBuilder<AuthinfoRequest.Builder,AuthinfoRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class AuthinfoRequest
extends RequestBase
implements ToCopyableBuilder<AuthinfoRequest.Builder,AuthinfoRequest>
Returns or updates authentication information for the currently authenticated user.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.opensearch.client.opensearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<AuthinfoRequest, AuthinfoResponse, ErrorResponse> Endpoint "security.authinfo". -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapplyQueryParameters(Map<String, String> params) final StringauthType()The type of the current authentication request.static AuthinfoRequest.Builderbuilder()booleaninthashCode()static AuthinfoRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Booleanverbose()Whether to return a verbose response.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
errorTrace, humanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_ENDPOINT
Endpoint "security.authinfo".
-
-
Method Details
-
of
public static AuthinfoRequest of(Function<AuthinfoRequest.Builder, ObjectBuilder<AuthinfoRequest>> fn) -
authType
The type of the current authentication request.API name:
auth_type -
verbose
Whether to return a verbose response.API name:
verbose -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AuthinfoRequest.Builder,AuthinfoRequest> - Returns:
- a new builder instance.
-
builder
-
applyQueryParameters
- Overrides:
applyQueryParametersin classRequestBase
-
hashCode
public int hashCode() -
equals
-