@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsRedshiftClusterClusterSnapshotCopyStatus extends Object implements Serializable, Cloneable, StructuredPojo
Information about a cross-Region snapshot copy.
Constructor and Description |
---|
AwsRedshiftClusterClusterSnapshotCopyStatus() |
Modifier and Type | Method and Description |
---|---|
AwsRedshiftClusterClusterSnapshotCopyStatus |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationRegion()
The destination Region that snapshots are automatically copied to when cross-Region snapshot copy is enabled.
|
Integer |
getManualSnapshotRetentionPeriod()
The number of days that manual snapshots are retained in the destination region after they are copied from a
source region.
|
Integer |
getRetentionPeriod()
The number of days to retain automated snapshots in the destination Region after they are copied from a source
Region.
|
String |
getSnapshotCopyGrantName()
The name of the snapshot copy grant.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDestinationRegion(String destinationRegion)
The destination Region that snapshots are automatically copied to when cross-Region snapshot copy is enabled.
|
void |
setManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that manual snapshots are retained in the destination region after they are copied from a
source region.
|
void |
setRetentionPeriod(Integer retentionPeriod)
The number of days to retain automated snapshots 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.
|
AwsRedshiftClusterClusterSnapshotCopyStatus |
withDestinationRegion(String destinationRegion)
The destination Region that snapshots are automatically copied to when cross-Region snapshot copy is enabled.
|
AwsRedshiftClusterClusterSnapshotCopyStatus |
withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that manual snapshots are retained in the destination region after they are copied from a
source region.
|
AwsRedshiftClusterClusterSnapshotCopyStatus |
withRetentionPeriod(Integer retentionPeriod)
The number of days to retain automated snapshots in the destination Region after they are copied from a source
Region.
|
AwsRedshiftClusterClusterSnapshotCopyStatus |
withSnapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant.
|
public AwsRedshiftClusterClusterSnapshotCopyStatus()
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 AwsRedshiftClusterClusterSnapshotCopyStatus 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 setManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that manual snapshots are retained in the destination region after they are copied from a source region.
If the value is -1, then the manual snapshot is retained indefinitely.
Valid values: Either -1 or an integer between 1 and 3,653
manualSnapshotRetentionPeriod
- The number of days that manual snapshots are retained in the destination region after they are copied from
a source region.
If the value is -1, then the manual snapshot is retained indefinitely.
Valid values: Either -1 or an integer between 1 and 3,653
public Integer getManualSnapshotRetentionPeriod()
The number of days that manual snapshots are retained in the destination region after they are copied from a source region.
If the value is -1, then the manual snapshot is retained indefinitely.
Valid values: Either -1 or an integer between 1 and 3,653
If the value is -1, then the manual snapshot is retained indefinitely.
Valid values: Either -1 or an integer between 1 and 3,653
public AwsRedshiftClusterClusterSnapshotCopyStatus withManualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)
The number of days that manual snapshots are retained in the destination region after they are copied from a source region.
If the value is -1, then the manual snapshot is retained indefinitely.
Valid values: Either -1 or an integer between 1 and 3,653
manualSnapshotRetentionPeriod
- The number of days that manual snapshots are retained in the destination region after they are copied from
a source region.
If the value is -1, then the manual snapshot is retained indefinitely.
Valid values: Either -1 or an integer between 1 and 3,653
public void setRetentionPeriod(Integer retentionPeriod)
The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.
retentionPeriod
- The number of days to retain automated snapshots in the destination Region after they are copied from a
source Region.public Integer getRetentionPeriod()
The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.
public AwsRedshiftClusterClusterSnapshotCopyStatus withRetentionPeriod(Integer retentionPeriod)
The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.
retentionPeriod
- The number of days to retain automated snapshots 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 AwsRedshiftClusterClusterSnapshotCopyStatus withSnapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant.
snapshotCopyGrantName
- The name of the snapshot copy grant.public String toString()
toString
in class Object
Object.toString()
public AwsRedshiftClusterClusterSnapshotCopyStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.