Class ClusterSnapshotCopyStatus

    • Constructor Detail

      • ClusterSnapshotCopyStatus

        public ClusterSnapshotCopyStatus()
    • Method Detail

      • setDestinationRegion

        public void setDestinationRegion​(String destinationRegion)

        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

        public String 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

        public ClusterSnapshotCopyStatus withDestinationRegion​(String destinationRegion)

        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

        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.

        Parameters:
        retentionPeriod - The number of days that automated snapshots are retained in the destination region after they are copied from a source region.
      • getRetentionPeriod

        public Long 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

        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.

        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

        public void setSnapshotCopyGrantName​(String snapshotCopyGrantName)

        The name of the snapshot copy grant.

        Parameters:
        snapshotCopyGrantName - The name of the snapshot copy grant.
      • getSnapshotCopyGrantName

        public String getSnapshotCopyGrantName()

        The name of the snapshot copy grant.

        Returns:
        The name of the snapshot copy grant.
      • withSnapshotCopyGrantName

        public ClusterSnapshotCopyStatus withSnapshotCopyGrantName​(String snapshotCopyGrantName)

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object