@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DisruptionCompliance extends Object implements Serializable, Cloneable, StructuredPojo
Defines the compliance against the resiliency policy for a disruption.
Constructor and Description |
---|
DisruptionCompliance() |
Modifier and Type | Method and Description |
---|---|
DisruptionCompliance |
clone() |
boolean |
equals(Object obj) |
Integer |
getAchievableRpoInSecs()
The Recovery Point Objective (RPO) that is achievable, in seconds.
|
Integer |
getAchievableRtoInSecs()
The Recovery Time Objective (RTO) that is achievable, in seconds
|
String |
getComplianceStatus()
The current status of compliance for the resiliency policy.
|
Integer |
getCurrentRpoInSecs()
The current RPO, in seconds.
|
Integer |
getCurrentRtoInSecs()
The current RTO, in seconds.
|
String |
getMessage()
The disruption compliance message.
|
String |
getRpoDescription()
The RPO description.
|
String |
getRpoReferenceId()
The RPO reference identifier.
|
String |
getRtoDescription()
The RTO description.
|
String |
getRtoReferenceId()
The RTO reference identifier.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAchievableRpoInSecs(Integer achievableRpoInSecs)
The Recovery Point Objective (RPO) that is achievable, in seconds.
|
void |
setAchievableRtoInSecs(Integer achievableRtoInSecs)
The Recovery Time Objective (RTO) that is achievable, in seconds
|
void |
setComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
|
void |
setCurrentRpoInSecs(Integer currentRpoInSecs)
The current RPO, in seconds.
|
void |
setCurrentRtoInSecs(Integer currentRtoInSecs)
The current RTO, in seconds.
|
void |
setMessage(String message)
The disruption compliance message.
|
void |
setRpoDescription(String rpoDescription)
The RPO description.
|
void |
setRpoReferenceId(String rpoReferenceId)
The RPO reference identifier.
|
void |
setRtoDescription(String rtoDescription)
The RTO description.
|
void |
setRtoReferenceId(String rtoReferenceId)
The RTO reference identifier.
|
String |
toString()
Returns a string representation of this object.
|
DisruptionCompliance |
withAchievableRpoInSecs(Integer achievableRpoInSecs)
The Recovery Point Objective (RPO) that is achievable, in seconds.
|
DisruptionCompliance |
withAchievableRtoInSecs(Integer achievableRtoInSecs)
The Recovery Time Objective (RTO) that is achievable, in seconds
|
DisruptionCompliance |
withComplianceStatus(ComplianceStatus complianceStatus)
The current status of compliance for the resiliency policy.
|
DisruptionCompliance |
withComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
|
DisruptionCompliance |
withCurrentRpoInSecs(Integer currentRpoInSecs)
The current RPO, in seconds.
|
DisruptionCompliance |
withCurrentRtoInSecs(Integer currentRtoInSecs)
The current RTO, in seconds.
|
DisruptionCompliance |
withMessage(String message)
The disruption compliance message.
|
DisruptionCompliance |
withRpoDescription(String rpoDescription)
The RPO description.
|
DisruptionCompliance |
withRpoReferenceId(String rpoReferenceId)
The RPO reference identifier.
|
DisruptionCompliance |
withRtoDescription(String rtoDescription)
The RTO description.
|
DisruptionCompliance |
withRtoReferenceId(String rtoReferenceId)
The RTO reference identifier.
|
public void setAchievableRpoInSecs(Integer achievableRpoInSecs)
The Recovery Point Objective (RPO) that is achievable, in seconds.
achievableRpoInSecs
- The Recovery Point Objective (RPO) that is achievable, in seconds.public Integer getAchievableRpoInSecs()
The Recovery Point Objective (RPO) that is achievable, in seconds.
public DisruptionCompliance withAchievableRpoInSecs(Integer achievableRpoInSecs)
The Recovery Point Objective (RPO) that is achievable, in seconds.
achievableRpoInSecs
- The Recovery Point Objective (RPO) that is achievable, in seconds.public void setAchievableRtoInSecs(Integer achievableRtoInSecs)
The Recovery Time Objective (RTO) that is achievable, in seconds
achievableRtoInSecs
- The Recovery Time Objective (RTO) that is achievable, in secondspublic Integer getAchievableRtoInSecs()
The Recovery Time Objective (RTO) that is achievable, in seconds
public DisruptionCompliance withAchievableRtoInSecs(Integer achievableRtoInSecs)
The Recovery Time Objective (RTO) that is achievable, in seconds
achievableRtoInSecs
- The Recovery Time Objective (RTO) that is achievable, in secondspublic void setComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.ComplianceStatus
public String getComplianceStatus()
The current status of compliance for the resiliency policy.
ComplianceStatus
public DisruptionCompliance withComplianceStatus(String complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.ComplianceStatus
public DisruptionCompliance withComplianceStatus(ComplianceStatus complianceStatus)
The current status of compliance for the resiliency policy.
complianceStatus
- The current status of compliance for the resiliency policy.ComplianceStatus
public void setCurrentRpoInSecs(Integer currentRpoInSecs)
The current RPO, in seconds.
currentRpoInSecs
- The current RPO, in seconds.public Integer getCurrentRpoInSecs()
The current RPO, in seconds.
public DisruptionCompliance withCurrentRpoInSecs(Integer currentRpoInSecs)
The current RPO, in seconds.
currentRpoInSecs
- The current RPO, in seconds.public void setCurrentRtoInSecs(Integer currentRtoInSecs)
The current RTO, in seconds.
currentRtoInSecs
- The current RTO, in seconds.public Integer getCurrentRtoInSecs()
The current RTO, in seconds.
public DisruptionCompliance withCurrentRtoInSecs(Integer currentRtoInSecs)
The current RTO, in seconds.
currentRtoInSecs
- The current RTO, in seconds.public void setMessage(String message)
The disruption compliance message.
message
- The disruption compliance message.public String getMessage()
The disruption compliance message.
public DisruptionCompliance withMessage(String message)
The disruption compliance message.
message
- The disruption compliance message.public void setRpoDescription(String rpoDescription)
The RPO description.
rpoDescription
- The RPO description.public String getRpoDescription()
The RPO description.
public DisruptionCompliance withRpoDescription(String rpoDescription)
The RPO description.
rpoDescription
- The RPO description.public void setRpoReferenceId(String rpoReferenceId)
The RPO reference identifier.
rpoReferenceId
- The RPO reference identifier.public String getRpoReferenceId()
The RPO reference identifier.
public DisruptionCompliance withRpoReferenceId(String rpoReferenceId)
The RPO reference identifier.
rpoReferenceId
- The RPO reference identifier.public void setRtoDescription(String rtoDescription)
The RTO description.
rtoDescription
- The RTO description.public String getRtoDescription()
The RTO description.
public DisruptionCompliance withRtoDescription(String rtoDescription)
The RTO description.
rtoDescription
- The RTO description.public void setRtoReferenceId(String rtoReferenceId)
The RTO reference identifier.
rtoReferenceId
- The RTO reference identifier.public String getRtoReferenceId()
The RTO reference identifier.
public DisruptionCompliance withRtoReferenceId(String rtoReferenceId)
The RTO reference identifier.
rtoReferenceId
- The RTO reference identifier.public String toString()
toString
in class Object
Object.toString()
public DisruptionCompliance clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.