Class PatchTenantsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchTenantsRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchTenantsRequest.Builder,PatchTenantsRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchTenantsRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchTenantsRequest.Builder,PatchTenantsRequest>
Adds, deletes, or modifies multiple tenants in a single request.
-
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<PatchTenantsRequest> static final Endpoint<PatchTenantsRequest, PatchTenantsResponse, ErrorResponse> Endpoint "security.patch_tenants". -
Method Summary
Modifier and TypeMethodDescriptionstatic PatchTenantsRequest.Builderbuilder()protected static JsonpDeserializer<PatchTenantsRequest> booleaninthashCode()static PatchTenantsRequestfinal List<PatchOperation> Required - Request body.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this value to JSON.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_tenants".
-
-
Method Details
-
of
public static PatchTenantsRequest of(Function<PatchTenantsRequest.Builder, ObjectBuilder<PatchTenantsRequest>> fn) -
operations
Required - Request body. -
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<PatchTenantsRequest.Builder,PatchTenantsRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchTenantsRequestDeserializer
-
hashCode
public int hashCode() -
equals
-