Class PatchConfigurationRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchConfigurationRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchConfigurationRequest.Builder,PatchConfigurationRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchConfigurationRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchConfigurationRequest.Builder,PatchConfigurationRequest>
Updates the existing security configuration using the REST API. Requires super admin or REST API permissions.
-
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<PatchConfigurationRequest> Endpoint "security.patch_configuration". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected static JsonpDeserializer<PatchConfigurationRequest> booleaninthashCode()static PatchConfigurationRequestfinal 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<PatchConfigurationRequest,PatchConfigurationResponse, _ENDPOINTErrorResponse> Endpoint "security.patch_configuration".
-
-
Method Details
-
of
public static PatchConfigurationRequest of(Function<PatchConfigurationRequest.Builder, ObjectBuilder<PatchConfigurationRequest>> 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<PatchConfigurationRequest.Builder,PatchConfigurationRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchConfigurationRequestDeserializer
protected static JsonpDeserializer<PatchConfigurationRequest> createPatchConfigurationRequestDeserializer() -
hashCode
public int hashCode() -
equals
-