Class GenerateUserTokenLegacyRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.GenerateUserTokenLegacyRequest
- All Implemented Interfaces:
ToCopyableBuilder<GenerateUserTokenLegacyRequest.Builder,GenerateUserTokenLegacyRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GenerateUserTokenLegacyRequest
extends RequestBase
implements ToCopyableBuilder<GenerateUserTokenLegacyRequest.Builder,GenerateUserTokenLegacyRequest>
Generates authorization token for the given user. Legacy API. Not Implemented.
-
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<GenerateUserTokenLegacyRequest, BooleanResponse, ErrorResponse> Endpoint "security.generate_user_token_legacy". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()of(Function<GenerateUserTokenLegacyRequest.Builder, ObjectBuilder<GenerateUserTokenLegacyRequest>> fn) Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringusername()Required - The name of the user for whom to issue an authorization token.Methods inherited from class org.opensearch.client.opensearch._types.RequestBase
applyQueryParameters, 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
public static final Endpoint<GenerateUserTokenLegacyRequest,BooleanResponse, _ENDPOINTErrorResponse> Endpoint "security.generate_user_token_legacy".
-
-
Method Details
-
of
-
username
Required - The name of the user for whom to issue an authorization token.API name:
username -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<GenerateUserTokenLegacyRequest.Builder,GenerateUserTokenLegacyRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-