Class PatchUserRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchUserRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchUserRequest.Builder,PatchUserRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchUserRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchUserRequest.Builder,PatchUserRequest>
Updates individual attributes for an internal user.
-
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<PatchUserRequest> static final Endpoint<PatchUserRequest, PatchUserResponse, ErrorResponse> Endpoint "security.patch_user". -
Method Summary
Modifier and TypeMethodDescriptionstatic PatchUserRequest.Builderbuilder()protected static JsonpDeserializer<PatchUserRequest> booleaninthashCode()static PatchUserRequestfinal 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.final Stringusername()Required - The name of the user to update.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_user".
-
-
Method Details
-
of
public static PatchUserRequest of(Function<PatchUserRequest.Builder, ObjectBuilder<PatchUserRequest>> fn) -
operations
Required - Request body. -
username
Required - The name of the user to update.API name:
username -
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<PatchUserRequest.Builder,PatchUserRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchUserRequestDeserializer
-
hashCode
public int hashCode() -
equals
-