Class PatchRoleMappingRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchRoleMappingRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchRoleMappingRequest.Builder,PatchRoleMappingRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchRoleMappingRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchRoleMappingRequest.Builder,PatchRoleMappingRequest>
Updates the individual attributes of a role mapping.
-
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<PatchRoleMappingRequest> static final Endpoint<PatchRoleMappingRequest, PatchRoleMappingResponse, ErrorResponse> Endpoint "security.patch_role_mapping". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected static JsonpDeserializer<PatchRoleMappingRequest> booleaninthashCode()static PatchRoleMappingRequestfinal List<PatchOperation> Required - Request body.final Stringrole()Required - The name of the role to update a role mapping forvoidserialize(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<PatchRoleMappingRequest,PatchRoleMappingResponse, _ENDPOINTErrorResponse> Endpoint "security.patch_role_mapping".
-
-
Method Details
-
of
public static PatchRoleMappingRequest of(Function<PatchRoleMappingRequest.Builder, ObjectBuilder<PatchRoleMappingRequest>> fn) -
operations
Required - Request body. -
role
Required - The name of the role to update a role mapping forAPI name:
role -
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<PatchRoleMappingRequest.Builder,PatchRoleMappingRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchRoleMappingRequestDeserializer
protected static JsonpDeserializer<PatchRoleMappingRequest> createPatchRoleMappingRequestDeserializer() -
hashCode
public int hashCode() -
equals
-