@Generated(value="software.amazon.awssdk:codegen") public final class UpdateAccessPolicyRequest extends OpenSearchServerlessRequest implements ToCopyableBuilder<UpdateAccessPolicyRequest.Builder,UpdateAccessPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateAccessPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateAccessPolicyRequest.Builder |
builder() |
String |
clientToken()
Unique, case-sensitive identifier to ensure idempotency of the request.
|
String |
description()
A description of the policy.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the policy.
|
String |
policy()
The JSON policy document to use as the content for the policy.
|
String |
policyVersion()
The version of the policy being updated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateAccessPolicyRequest.Builder> |
serializableBuilderClass() |
UpdateAccessPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AccessPolicyType |
type()
The type of policy.
|
String |
typeAsString()
The type of policy.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String clientToken()
Unique, case-sensitive identifier to ensure idempotency of the request.
public final String description()
A description of the policy. Typically used to store information about the permissions defined in the policy.
public final String name()
The name of the policy.
public final String policy()
The JSON policy document to use as the content for the policy.
public final String policyVersion()
The version of the policy being updated.
public final AccessPolicyType type()
The type of policy.
If the service returns an enum value that is not available in the current SDK version, type will return
AccessPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AccessPolicyTypepublic final String typeAsString()
The type of policy.
If the service returns an enum value that is not available in the current SDK version, type will return
AccessPolicyType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
AccessPolicyTypepublic UpdateAccessPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateAccessPolicyRequest.Builder,UpdateAccessPolicyRequest>toBuilder in class OpenSearchServerlessRequestpublic static UpdateAccessPolicyRequest.Builder builder()
public static Class<? extends UpdateAccessPolicyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.