|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.redshift.model.ClusterSnapshotCopyStatus
public class ClusterSnapshotCopyStatus
Returns the destination region and retention period that are configured for cross-region snapshot copy.
Constructor Summary | |
---|---|
ClusterSnapshotCopyStatus()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDestinationRegion()
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled. |
Long |
getRetentionPeriod()
The number of days that automated snapshots are retained in the destination region after they are copied from a source region. |
int |
hashCode()
|
void |
setDestinationRegion(String destinationRegion)
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled. |
void |
setRetentionPeriod(Long retentionPeriod)
The number of days that automated snapshots are retained in the destination region after they are copied from a source region. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ClusterSnapshotCopyStatus |
withDestinationRegion(String destinationRegion)
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled. |
ClusterSnapshotCopyStatus |
withRetentionPeriod(Long retentionPeriod)
The number of days that automated snapshots are retained in the destination region after they are copied from a source region. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ClusterSnapshotCopyStatus()
Method Detail |
---|
public String getDestinationRegion()
public void setDestinationRegion(String destinationRegion)
destinationRegion
- The destination region that snapshots are automatically copied to when
cross-region snapshot copy is enabled.public ClusterSnapshotCopyStatus withDestinationRegion(String destinationRegion)
Returns a reference to this object so that method calls can be chained together.
destinationRegion
- The destination region that snapshots are automatically copied to when
cross-region snapshot copy is enabled.
public Long getRetentionPeriod()
public void setRetentionPeriod(Long retentionPeriod)
retentionPeriod
- The number of days that automated snapshots are retained in the
destination region after they are copied from a source region.public ClusterSnapshotCopyStatus withRetentionPeriod(Long retentionPeriod)
Returns a reference to this object so that method calls can be chained together.
retentionPeriod
- The number of days that automated snapshots are retained in the
destination region after they are copied from a source region.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |