@Generated(value="software.amazon.awssdk:codegen") public final class GetResourcePolicyResponse extends GlueResponse 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() |
Instant |
createTime()
The date and 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() |
String |
policyHash()
Contains the hash value associated with this policy.
|
String |
policyInJson()
Contains the requested policy document, in JSON format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetResourcePolicyResponse.Builder> |
serializableBuilderClass() |
GetResourcePolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updateTime()
The date and time at which the policy was last updated.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String policyInJson()
Contains the requested policy document, in JSON format.
public String policyHash()
Contains the hash value associated with this policy.
public Instant createTime()
The date and time at which the policy was created.
public Instant updateTime()
The date and time at which the policy was last updated.
public GetResourcePolicyResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetResourcePolicyResponse.Builder,GetResourcePolicyResponse>
toBuilder
in class AwsResponse
public static GetResourcePolicyResponse.Builder builder()
public static Class<? extends GetResourcePolicyResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsResponse
public boolean equals(Object obj)
equals
in class AwsResponse
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2020. All rights reserved.