Class PatchRolesRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchRolesRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchRolesRequest.Builder,PatchRolesRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchRolesRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchRolesRequest.Builder,PatchRolesRequest>
Creates, updates, or deletes multiple roles in a single call.
-
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<PatchRolesRequest> static final Endpoint<PatchRolesRequest, PatchRolesResponse, ErrorResponse> Endpoint "security.patch_roles". -
Method Summary
Modifier and TypeMethodDescriptionstatic PatchRolesRequest.Builderbuilder()protected static JsonpDeserializer<PatchRolesRequest> booleaninthashCode()static PatchRolesRequestfinal 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_roles".
-
-
Method Details
-
of
public static PatchRolesRequest of(Function<PatchRolesRequest.Builder, ObjectBuilder<PatchRolesRequest>> 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<PatchRolesRequest.Builder,PatchRolesRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchRolesRequestDeserializer
-
hashCode
public int hashCode() -
equals
-