Class DeleteUserLegacyRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.DeleteUserLegacyRequest
- All Implemented Interfaces:
ToCopyableBuilder<DeleteUserLegacyRequest.Builder,DeleteUserLegacyRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class DeleteUserLegacyRequest
extends RequestBase
implements ToCopyableBuilder<DeleteUserLegacyRequest.Builder,DeleteUserLegacyRequest>
Delete the specified user. Legacy API.
-
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<DeleteUserLegacyRequest, DeleteUserLegacyResponse, ErrorResponse> Endpoint "security.delete_user_legacy". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleaninthashCode()static DeleteUserLegacyRequestCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringusername()Required - The name of the user to delete.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<DeleteUserLegacyRequest,DeleteUserLegacyResponse, _ENDPOINTErrorResponse> Endpoint "security.delete_user_legacy".
-
-
Method Details
-
of
public static DeleteUserLegacyRequest of(Function<DeleteUserLegacyRequest.Builder, ObjectBuilder<DeleteUserLegacyRequest>> fn) -
username
Required - The name of the user to delete.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<DeleteUserLegacyRequest.Builder,DeleteUserLegacyRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-