@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FailurePolicy extends Object implements Serializable, Cloneable, StructuredPojo
Defines a failure policy.
| Constructor and Description |
|---|
FailurePolicy() |
| Modifier and Type | Method and Description |
|---|---|
FailurePolicy |
clone() |
boolean |
equals(Object obj) |
Integer |
getRpoInSecs()
Recovery Point Objective (RPO) in seconds.
|
Integer |
getRtoInSecs()
Recovery Time Objective (RTO) in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRpoInSecs(Integer rpoInSecs)
Recovery Point Objective (RPO) in seconds.
|
void |
setRtoInSecs(Integer rtoInSecs)
Recovery Time Objective (RTO) in seconds.
|
String |
toString()
Returns a string representation of this object.
|
FailurePolicy |
withRpoInSecs(Integer rpoInSecs)
Recovery Point Objective (RPO) in seconds.
|
FailurePolicy |
withRtoInSecs(Integer rtoInSecs)
Recovery Time Objective (RTO) in seconds.
|
public void setRpoInSecs(Integer rpoInSecs)
Recovery Point Objective (RPO) in seconds.
rpoInSecs - Recovery Point Objective (RPO) in seconds.public Integer getRpoInSecs()
Recovery Point Objective (RPO) in seconds.
public FailurePolicy withRpoInSecs(Integer rpoInSecs)
Recovery Point Objective (RPO) in seconds.
rpoInSecs - Recovery Point Objective (RPO) in seconds.public void setRtoInSecs(Integer rtoInSecs)
Recovery Time Objective (RTO) in seconds.
rtoInSecs - Recovery Time Objective (RTO) in seconds.public Integer getRtoInSecs()
Recovery Time Objective (RTO) in seconds.
public FailurePolicy withRtoInSecs(Integer rtoInSecs)
Recovery Time Objective (RTO) in seconds.
rtoInSecs - Recovery Time Objective (RTO) in seconds.public String toString()
toString in class ObjectObject.toString()public FailurePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.