Interface AwsRedshiftClusterClusterSnapshotCopyStatus.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsRedshiftClusterClusterSnapshotCopyStatus.Builder,
,AwsRedshiftClusterClusterSnapshotCopyStatus> SdkBuilder<AwsRedshiftClusterClusterSnapshotCopyStatus.Builder,
,AwsRedshiftClusterClusterSnapshotCopyStatus> SdkPojo
- Enclosing class:
AwsRedshiftClusterClusterSnapshotCopyStatus
public static interface AwsRedshiftClusterClusterSnapshotCopyStatus.Builder
extends SdkPojo, CopyableBuilder<AwsRedshiftClusterClusterSnapshotCopyStatus.Builder,AwsRedshiftClusterClusterSnapshotCopyStatus>
-
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 manual snapshots are retained in the destination Region after they are copied from a source Region.retentionPeriod
(Integer retentionPeriod) The number of days to retain automated snapshots 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, 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.
-
manualSnapshotRetentionPeriod
AwsRedshiftClusterClusterSnapshotCopyStatus.Builder manualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod) The number of days that manual snapshots are retained in the destination Region after they are copied from a source Region.
If the value is
-1
, then the manual snapshot is retained indefinitely.Valid values: Either
-1
or an integer between 1 and 3,653- Parameters:
manualSnapshotRetentionPeriod
- The number of days that manual snapshots are retained in the destination Region after they are copied from a source Region.If the value is
-1
, then the manual snapshot is retained indefinitely.Valid values: 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.
-
retentionPeriod
The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.
- Parameters:
retentionPeriod
- The number of days to retain automated snapshots 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.
-
snapshotCopyGrantName
AwsRedshiftClusterClusterSnapshotCopyStatus.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.
-