@Generated(value="software.amazon.awssdk:codegen") public final class DescribeResourcePolicyResponse extends ComprehendResponse 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() |
Instant |
creationTime()
The time at which the policy was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastModifiedTime()
The time at which the policy was last modified.
|
String |
policyRevisionId()
The revision ID of the policy.
|
String |
resourcePolicy()
The JSON body of the resource-based 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 resourcePolicy()
The JSON body of the resource-based policy.
public final Instant creationTime()
The time at which the policy was created.
public final Instant lastModifiedTime()
The time at which the policy was last modified.
public final String policyRevisionId()
The revision ID of the policy. Each time you modify a policy, Amazon Comprehend assigns a new revision ID, and it deletes the prior version of the policy.
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 © 2023. All rights reserved.