Class PatchRoleMappingsRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchRoleMappingsRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchRoleMappingsRequest.Builder,PatchRoleMappingsRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchRoleMappingsRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchRoleMappingsRequest.Builder,PatchRoleMappingsRequest>
Creates or updates multiple role mappings 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<PatchRoleMappingsRequest> Endpoint "security.patch_role_mappings". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected static JsonpDeserializer<PatchRoleMappingsRequest> booleaninthashCode()static PatchRoleMappingsRequestfinal 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
public static final Endpoint<PatchRoleMappingsRequest,PatchRoleMappingsResponse, _ENDPOINTErrorResponse> Endpoint "security.patch_role_mappings".
-
-
Method Details
-
of
public static PatchRoleMappingsRequest of(Function<PatchRoleMappingsRequest.Builder, ObjectBuilder<PatchRoleMappingsRequest>> 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<PatchRoleMappingsRequest.Builder,PatchRoleMappingsRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchRoleMappingsRequestDeserializer
protected static JsonpDeserializer<PatchRoleMappingsRequest> createPatchRoleMappingsRequestDeserializer() -
hashCode
public int hashCode() -
equals
-