@Generated(value="software.amazon.awssdk:codegen") public final class GetResourcePolicyResponse extends CloudTrailResponse implements ToCopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetResourcePolicyResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetResourcePolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceArn()
The Amazon Resource Name (ARN) of the CloudTrail channel attached to resource-based policy.
|
String |
resourcePolicy()
A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetResourcePolicyResponse.Builder> |
serializableBuilderClass() |
GetResourcePolicyResponse.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 CloudTrail channel attached to resource-based policy.
public final String resourcePolicy()
A JSON-formatted string that contains the resource-based policy attached to the CloudTrail channel.
public GetResourcePolicyResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>toBuilder in class AwsResponsepublic static GetResourcePolicyResponse.Builder builder()
public static Class<? extends GetResourcePolicyResponse.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.