Interface ClusterSnapshotCopyStatus.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ClusterSnapshotCopyStatus.Builder,ClusterSnapshotCopyStatus>,SdkBuilder<ClusterSnapshotCopyStatus.Builder,ClusterSnapshotCopyStatus>,SdkPojo
- Enclosing class:
- ClusterSnapshotCopyStatus
public static interface ClusterSnapshotCopyStatus.Builder extends SdkPojo, CopyableBuilder<ClusterSnapshotCopyStatus.Builder,ClusterSnapshotCopyStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClusterSnapshotCopyStatus.BuilderdestinationRegion(String destinationRegion)The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.ClusterSnapshotCopyStatus.BuildermanualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)The number of days that automated snapshots are retained in the destination region after they are copied from a source region.ClusterSnapshotCopyStatus.BuilderretentionPeriod(Long retentionPeriod)The number of days that automated snapshots are retained in the destination region after they are copied from a source region.ClusterSnapshotCopyStatus.BuildersnapshotCopyGrantName(String snapshotCopyGrantName)The name of the snapshot copy grant.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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.
-
-