@Generated(value="software.amazon.awssdk:codegen") public final class GetDataProtectionPolicyResponse extends SnsResponse implements ToCopyableBuilder<GetDataProtectionPolicyResponse.Builder,GetDataProtectionPolicyResponse>
Modifier and Type | Class and Description |
---|---|
static interface |
GetDataProtectionPolicyResponse.Builder |
Modifier and Type | Method and Description |
---|---|
static GetDataProtectionPolicyResponse.Builder |
builder() |
String |
dataProtectionPolicy()
Retrieves the
DataProtectionPolicy in JSON string format. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetDataProtectionPolicyResponse.Builder> |
serializableBuilderClass() |
GetDataProtectionPolicyResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadata
sdkHttpResponse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String dataProtectionPolicy()
Retrieves the DataProtectionPolicy
in JSON string format.
DataProtectionPolicy
in JSON string format.public GetDataProtectionPolicyResponse.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetDataProtectionPolicyResponse.Builder,GetDataProtectionPolicyResponse>
toBuilder
in class AwsResponse
public static GetDataProtectionPolicyResponse.Builder builder()
public static Class<? extends GetDataProtectionPolicyResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode
in class AwsResponse
public final boolean equals(Object obj)
equals
in class AwsResponse
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkResponse
Copyright © 2022. All rights reserved.