Class PatchAllowlistRequest
java.lang.Object
org.opensearch.client.opensearch._types.RequestBase
org.opensearch.client.opensearch.security.PatchAllowlistRequest
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<PatchAllowlistRequest.Builder,PatchAllowlistRequest>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public final class PatchAllowlistRequest
extends RequestBase
implements PlainJsonSerializable, ToCopyableBuilder<PatchAllowlistRequest.Builder,PatchAllowlistRequest>
Updates the current list of APIs accessible for users on the allow list.
-
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<PatchAllowlistRequest> static final Endpoint<PatchAllowlistRequest, PatchAllowlistResponse, ErrorResponse> Endpoint "security.patch_allowlist". -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected static JsonpDeserializer<PatchAllowlistRequest> booleaninthashCode()static PatchAllowlistRequestfinal 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_allowlist".
-
-
Method Details
-
of
public static PatchAllowlistRequest of(Function<PatchAllowlistRequest.Builder, ObjectBuilder<PatchAllowlistRequest>> 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<PatchAllowlistRequest.Builder,PatchAllowlistRequest> - Returns:
- a new builder instance.
-
builder
-
createPatchAllowlistRequestDeserializer
-
hashCode
public int hashCode() -
equals
-