Class GetTenantRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.GetTenantRequest
- All Implemented Interfaces:
ToCopyableBuilder<GetTenantRequest.Builder,GetTenantRequest>
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class GetTenantRequest
extends RequestBase
implements ToCopyableBuilder<GetTenantRequest.Builder,GetTenantRequest>
Retrieves 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<GetTenantRequest, GetTenantResponse, ErrorResponse> Endpoint "security.get_tenant". -
Method Summary
Modifier and TypeMethodDescriptionstatic GetTenantRequest.Builderbuilder()booleaninthashCode()static GetTenantRequestfinal Stringtenant()Required - The name of the tenant to retrieve.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.get_tenant".
-
-
Method Details
-
of
public static GetTenantRequest of(Function<GetTenantRequest.Builder, ObjectBuilder<GetTenantRequest>> fn) -
tenant
Required - The name of the tenant to retrieve.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<GetTenantRequest.Builder,GetTenantRequest> - Returns:
- a new builder instance.
-
builder
-
hashCode
public int hashCode() -
equals
-