@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArchiveRetainRule extends Object implements Serializable, Cloneable, StructuredPojo
[Snapshot policies only] Specifies information about the archive storage tier retention period.
Constructor and Description |
---|
ArchiveRetainRule() |
Modifier and Type | Method and Description |
---|---|
ArchiveRetainRule |
clone() |
boolean |
equals(Object obj) |
RetentionArchiveTier |
getRetentionArchiveTier()
Information about retention period in the Amazon EBS Snapshots Archive.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRetentionArchiveTier(RetentionArchiveTier retentionArchiveTier)
Information about retention period in the Amazon EBS Snapshots Archive.
|
String |
toString()
Returns a string representation of this object.
|
ArchiveRetainRule |
withRetentionArchiveTier(RetentionArchiveTier retentionArchiveTier)
Information about retention period in the Amazon EBS Snapshots Archive.
|
public void setRetentionArchiveTier(RetentionArchiveTier retentionArchiveTier)
Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
retentionArchiveTier
- Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS
snapshots.public RetentionArchiveTier getRetentionArchiveTier()
Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
public ArchiveRetainRule withRetentionArchiveTier(RetentionArchiveTier retentionArchiveTier)
Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS snapshots.
retentionArchiveTier
- Information about retention period in the Amazon EBS Snapshots Archive. For more information, see Archive Amazon EBS
snapshots.public String toString()
toString
in class Object
Object.toString()
public ArchiveRetainRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.