Interface ClusterSnapshotCopyStatus.Builder

    • Method Detail

      • destinationRegion

        ClusterSnapshotCopyStatus.Builder destinationRegion​(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.
      • retentionPeriod

        ClusterSnapshotCopyStatus.Builder retentionPeriod​(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.
      • manualSnapshotRetentionPeriod

        ClusterSnapshotCopyStatus.Builder manualSnapshotRetentionPeriod​(Integer manualSnapshotRetentionPeriod)

        The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.

        The value must be either -1 or an integer between 1 and 3,653.

        Parameters:
        manualSnapshotRetentionPeriod - The number of days that automated snapshots are retained in the destination region after they are copied from a source region. If the value is -1, the manual snapshot is retained indefinitely.

        The value must be either -1 or an integer between 1 and 3,653.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotCopyGrantName

        ClusterSnapshotCopyStatus.Builder snapshotCopyGrantName​(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.