@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeResiliencyPolicyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeResiliencyPolicyResult() |
Modifier and Type | Method and Description |
---|---|
DescribeResiliencyPolicyResult |
clone() |
boolean |
equals(Object obj) |
ResiliencyPolicy |
getPolicy()
Information about the specific resiliency policy, returned as an object.
|
int |
hashCode() |
void |
setPolicy(ResiliencyPolicy policy)
Information about the specific resiliency policy, returned as an object.
|
String |
toString()
Returns a string representation of this object.
|
DescribeResiliencyPolicyResult |
withPolicy(ResiliencyPolicy policy)
Information about the specific resiliency policy, returned as an object.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setPolicy(ResiliencyPolicy policy)
Information about the specific resiliency policy, returned as an object. This object includes creation time, data location constraints, its name, description, tags, the recovery time objective (RTO) and recovery point objective (RPO) in seconds, and more.
policy
- Information about the specific resiliency policy, returned as an object. This object includes creation
time, data location constraints, its name, description, tags, the recovery time objective (RTO) and
recovery point objective (RPO) in seconds, and more.public ResiliencyPolicy getPolicy()
Information about the specific resiliency policy, returned as an object. This object includes creation time, data location constraints, its name, description, tags, the recovery time objective (RTO) and recovery point objective (RPO) in seconds, and more.
public DescribeResiliencyPolicyResult withPolicy(ResiliencyPolicy policy)
Information about the specific resiliency policy, returned as an object. This object includes creation time, data location constraints, its name, description, tags, the recovery time objective (RTO) and recovery point objective (RPO) in seconds, and more.
policy
- Information about the specific resiliency policy, returned as an object. This object includes creation
time, data location constraints, its name, description, tags, the recovery time objective (RTO) and
recovery point objective (RPO) in seconds, and more.public String toString()
toString
in class Object
Object.toString()
public DescribeResiliencyPolicyResult clone()