@Generated(value="software.amazon.awssdk:codegen") public final class GetKeyPolicyResponse extends KmsResponse implements ToCopyableBuilder<GetKeyPolicyResponse.Builder,GetKeyPolicyResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
GetKeyPolicyResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetKeyPolicyResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
policy()
A key policy document in JSON format.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetKeyPolicyResponse.Builder> |
serializableBuilderClass() |
GetKeyPolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String policy()
A key policy document in JSON format.
public GetKeyPolicyResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetKeyPolicyResponse.Builder,GetKeyPolicyResponse>
toBuilder
in class AwsResponse
public static GetKeyPolicyResponse.Builder builder()
public static Class<? extends GetKeyPolicyResponse.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.