Interface ClusterSnapshotCopyStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterSnapshotCopyStatus.Builder,
,ClusterSnapshotCopyStatus> SdkBuilder<ClusterSnapshotCopyStatus.Builder,
,ClusterSnapshotCopyStatus> SdkPojo
- Enclosing class:
ClusterSnapshotCopyStatus
@Mutable
@NotThreadSafe
public static interface ClusterSnapshotCopyStatus.Builder
extends SdkPojo, CopyableBuilder<ClusterSnapshotCopyStatus.Builder,ClusterSnapshotCopyStatus>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationRegion
(String destinationRegion) The destination region that snapshots are automatically copied to when cross-region snapshot copy is enabled.manualSnapshotRetentionPeriod
(Integer manualSnapshotRetentionPeriod) The number of days that automated snapshots are retained in the destination region after they are copied from a source region.retentionPeriod
(Long retentionPeriod) The number of days that automated snapshots are retained in the destination region after they are copied from a source region.snapshotCopyGrantName
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.
-