@Generated(value="software.amazon.awssdk:codegen") public final class GetAccessPolicyRequest extends OpenSearchServerlessRequest implements ToCopyableBuilder<GetAccessPolicyRequest.Builder,GetAccessPolicyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAccessPolicyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetAccessPolicyRequest.Builder |
builder() |
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 access policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetAccessPolicyRequest.Builder> |
serializableBuilderClass() |
GetAccessPolicyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
AccessPolicyType |
type()
Tye type of policy.
|
String |
typeAsString()
Tye type of policy.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of the access policy.
public final AccessPolicyType type()
Tye type of policy. Currently the only supported value is data.
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().
data.AccessPolicyTypepublic final String typeAsString()
Tye type of policy. Currently the only supported value is data.
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().
data.AccessPolicyTypepublic GetAccessPolicyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAccessPolicyRequest.Builder,GetAccessPolicyRequest>toBuilder in class OpenSearchServerlessRequestpublic static GetAccessPolicyRequest.Builder builder()
public static Class<? extends GetAccessPolicyRequest.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.