Class DeleteTenantRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.DeleteTenantRequest
- All Implemented Interfaces:
ToCopyableBuilder<DeleteTenantRequest.Builder,DeleteTenantRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class DeleteTenantRequest
extends RequestBase
implements ToCopyableBuilder<DeleteTenantRequest.Builder,DeleteTenantRequest>
Deletes the specified tenant.
-
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<DeleteTenantRequest, DeleteTenantResponse, ErrorResponse> Endpoint "security.delete_tenant". -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteTenantRequest.Builderbuilder()booleaninthashCode()static DeleteTenantRequestfinal Stringtenant()Required - The name of the tenant to delete.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.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
Endpoint "security.delete_tenant".
-
-
Method Details
-
of
public static DeleteTenantRequest of(Function<DeleteTenantRequest.Builder, ObjectBuilder<DeleteTenantRequest>> fn) -
tenant
Required - The name of the tenant to delete.API name:
tenant -
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DeleteTenantRequest.Builder,DeleteTenantRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-