@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArchiveRule extends Object implements Serializable, Cloneable, StructuredPojo
[Custom snapshot policies only] Specifies a snapshot archiving rule for a schedule.
| Constructor and Description |
|---|
ArchiveRule() |
| Modifier and Type | Method and Description |
|---|---|
ArchiveRule |
clone() |
boolean |
equals(Object obj) |
ArchiveRetainRule |
getRetainRule()
Information about the retention period for the snapshot archiving rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setRetainRule(ArchiveRetainRule retainRule)
Information about the retention period for the snapshot archiving rule.
|
String |
toString()
Returns a string representation of this object.
|
ArchiveRule |
withRetainRule(ArchiveRetainRule retainRule)
Information about the retention period for the snapshot archiving rule.
|
public void setRetainRule(ArchiveRetainRule retainRule)
Information about the retention period for the snapshot archiving rule.
retainRule - Information about the retention period for the snapshot archiving rule.public ArchiveRetainRule getRetainRule()
Information about the retention period for the snapshot archiving rule.
public ArchiveRule withRetainRule(ArchiveRetainRule retainRule)
Information about the retention period for the snapshot archiving rule.
retainRule - Information about the retention period for the snapshot archiving rule.public String toString()
toString in class ObjectObject.toString()public ArchiveRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.