@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterSnapshotCopyStatus extends Object implements Serializable, Cloneable
Returns the destination region and retention period that are configured for cross-region snapshot copy.
| Constructor and Description | 
|---|
ClusterSnapshotCopyStatus()  | 
| Modifier and Type | Method and Description | 
|---|---|
ClusterSnapshotCopyStatus | 
clone()  | 
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. 
 | 
String | 
getSnapshotCopyGrantName()
 The name of the snapshot copy grant. 
 | 
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. 
 | 
void | 
setSnapshotCopyGrantName(String snapshotCopyGrantName)
 The name of the snapshot copy grant. 
 | 
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. 
 | 
ClusterSnapshotCopyStatus | 
withSnapshotCopyGrantName(String snapshotCopyGrantName)
 The name of the snapshot copy grant. 
 | 
public void setDestinationRegion(String destinationRegion)
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
destinationRegion - The destination region that snapshots are automatically copied to when cross-region snapshot copy is
        enabled.public String getDestinationRegion()
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
public ClusterSnapshotCopyStatus withDestinationRegion(String destinationRegion)
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
destinationRegion - The destination region that snapshots are automatically copied to when cross-region snapshot copy is
        enabled.public 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.
retentionPeriod - The number of days that automated snapshots are retained in the destination region after they are copied
        from a source region.public Long getRetentionPeriod()
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)
The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
retentionPeriod - The number of days that automated snapshots are retained in the destination region after they are copied
        from a source region.public void setSnapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant.
snapshotCopyGrantName - The name of the snapshot copy grant.public String getSnapshotCopyGrantName()
The name of the snapshot copy grant.
public ClusterSnapshotCopyStatus withSnapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant.
snapshotCopyGrantName - The name of the snapshot copy grant.public String toString()
toString in class ObjectObject.toString()public ClusterSnapshotCopyStatus clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.