@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDataProtectionPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetDataProtectionPolicyResult() |
| Modifier and Type | Method and Description |
|---|---|
GetDataProtectionPolicyResult |
clone() |
boolean |
equals(Object obj) |
String |
getDataProtectionPolicy()
Retrieves the
DataProtectionPolicy in JSON string format. |
int |
hashCode() |
void |
setDataProtectionPolicy(String dataProtectionPolicy)
Retrieves the
DataProtectionPolicy in JSON string format. |
String |
toString()
Returns a string representation of this object.
|
GetDataProtectionPolicyResult |
withDataProtectionPolicy(String dataProtectionPolicy)
Retrieves the
DataProtectionPolicy in JSON string format. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setDataProtectionPolicy(String dataProtectionPolicy)
Retrieves the DataProtectionPolicy in JSON string format.
dataProtectionPolicy - Retrieves the DataProtectionPolicy in JSON string format.public String getDataProtectionPolicy()
Retrieves the DataProtectionPolicy in JSON string format.
DataProtectionPolicy in JSON string format.public GetDataProtectionPolicyResult withDataProtectionPolicy(String dataProtectionPolicy)
Retrieves the DataProtectionPolicy in JSON string format.
dataProtectionPolicy - Retrieves the DataProtectionPolicy in JSON string format.public String toString()
toString in class ObjectObject.toString()public GetDataProtectionPolicyResult clone()