@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()
The Recovery Point Objective (RPO), in seconds.
|
Integer |
getRtoInSecs()
The Recovery Time Objective (RTO), in seconds.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRpoInSecs(Integer rpoInSecs)
The Recovery Point Objective (RPO), in seconds.
|
void |
setRtoInSecs(Integer rtoInSecs)
The Recovery Time Objective (RTO), in seconds.
|
String |
toString()
Returns a string representation of this object.
|
FailurePolicy |
withRpoInSecs(Integer rpoInSecs)
The Recovery Point Objective (RPO), in seconds.
|
FailurePolicy |
withRtoInSecs(Integer rtoInSecs)
The Recovery Time Objective (RTO), in seconds.
|
public void setRpoInSecs(Integer rpoInSecs)
The Recovery Point Objective (RPO), in seconds.
rpoInSecs
- The Recovery Point Objective (RPO), in seconds.public Integer getRpoInSecs()
The Recovery Point Objective (RPO), in seconds.
public FailurePolicy withRpoInSecs(Integer rpoInSecs)
The Recovery Point Objective (RPO), in seconds.
rpoInSecs
- The Recovery Point Objective (RPO), in seconds.public void setRtoInSecs(Integer rtoInSecs)
The Recovery Time Objective (RTO), in seconds.
rtoInSecs
- The Recovery Time Objective (RTO), in seconds.public Integer getRtoInSecs()
The Recovery Time Objective (RTO), in seconds.
public FailurePolicy withRtoInSecs(Integer rtoInSecs)
The Recovery Time Objective (RTO), in seconds.
rtoInSecs
- The Recovery Time Objective (RTO), in seconds.public String toString()
toString
in class Object
Object.toString()
public FailurePolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.