Class ClusterSnapshotCopyStatus
- All Implemented Interfaces:
Serializable,Cloneable
Returns the destination region and retention period that are configured for cross-region snapshot copy.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanThe destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.The number of days that automated snapshots are retained in the destination region after they are copied from a source region.The name of the snapshot copy grant.inthashCode()voidsetDestinationRegion(String destinationRegion) The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.voidsetRetentionPeriod(Long retentionPeriod) The number of days that automated snapshots are retained in the destination region after they are copied from a source region.voidsetSnapshotCopyGrantName(String snapshotCopyGrantName) The name of the snapshot copy grant.toString()Returns a string representation of this object; useful for testing and debugging.withDestinationRegion(String destinationRegion) The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.withRetentionPeriod(Long retentionPeriod) The number of days that automated snapshots are retained in the destination region after they are copied from a source region.withSnapshotCopyGrantName(String snapshotCopyGrantName) The name of the snapshot copy grant.
-
Constructor Details
-
ClusterSnapshotCopyStatus
public ClusterSnapshotCopyStatus()
-
-
Method Details
-
setDestinationRegion
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
- Parameters:
destinationRegion- The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
-
getDestinationRegion
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
- Returns:
- The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
-
withDestinationRegion
The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.
- Parameters:
destinationRegion- The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRetentionPeriod
The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
- Parameters:
retentionPeriod- The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
-
getRetentionPeriod
The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
- Returns:
- The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
-
withRetentionPeriod
The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
- Parameters:
retentionPeriod- The number of days that automated snapshots are retained in the destination region after they are copied from a source region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSnapshotCopyGrantName
The name of the snapshot copy grant.
- Parameters:
snapshotCopyGrantName- The name of the snapshot copy grant.
-
getSnapshotCopyGrantName
The name of the snapshot copy grant.
- Returns:
- The name of the snapshot copy grant.
-
withSnapshotCopyGrantName
The name of the snapshot copy grant.
- Parameters:
snapshotCopyGrantName- The name of the snapshot copy grant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-