@Generated(value="software.amazon.awssdk:codegen") public final class DescribeResourcePolicyResponse extends LexModelsV2Response implements ToCopyableBuilder<DescribeResourcePolicyResponse.Builder,DescribeResourcePolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeResourcePolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DescribeResourcePolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
The JSON structure that contains the resource policy.
|
String |
resourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
|
String |
revisionId()
The current revision of the resource policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeResourcePolicyResponse.Builder> |
serializableBuilderClass() |
DescribeResourcePolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceArn()
The Amazon Resource Name (ARN) of the bot or bot alias that the resource policy is attached to.
public final String policy()
The JSON structure that contains the resource policy. For more information about the contents of a JSON policy document, see IAM JSON policy reference .
public final String revisionId()
The current revision of the resource policy. Use the revision ID to make sure that you are updating the most current version of a resource policy when you add a policy statement to a resource, delete a resource, or update a resource.
public DescribeResourcePolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeResourcePolicyResponse.Builder,DescribeResourcePolicyResponse>toBuilder in class AwsResponsepublic static DescribeResourcePolicyResponse.Builder builder()
public static Class<? extends DescribeResourcePolicyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2021. All rights reserved.