Class PatchTenantRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchTenantRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchTenantRequest.Builder,PatchTenantRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchTenantRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchTenantRequest.Builder,PatchTenantRequest>
Adds, deletes, or modifies a single 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 JsonpDeserializer<PatchTenantRequest> static final Endpoint<PatchTenantRequest, PatchTenantResponse, ErrorResponse> Endpoint "security.patch_tenant". -
Method Summary
Modifier and TypeMethodDescriptionstatic PatchTenantRequest.Builderbuilder()protected static JsonpDeserializer<PatchTenantRequest> booleaninthashCode()static PatchTenantRequestfinal List<PatchOperation> Required - Request body.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.final Stringtenant()Required - The name of the tenant to update.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.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
-
_ENDPOINT
Endpoint "security.patch_tenant".
-
-
Method Details
-
of
public static PatchTenantRequest of(Function<PatchTenantRequest.Builder, ObjectBuilder<PatchTenantRequest>> fn) -
operations
Required - Request body. -
tenant
Required - The name of the tenant to update.API name:
tenant -
serialize
Serialize this value to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<PatchTenantRequest.Builder,PatchTenantRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchTenantRequestDeserializer
-
hashCode
public int hashCode() -
equals
-