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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsRedshiftClusterClusterSnapshotCopyStatus.BuilderdestinationRegion(String destinationRegion)The destination Region that snapshots are automatically copied to when cross-Region snapshot copy is enabled.AwsRedshiftClusterClusterSnapshotCopyStatus.BuildermanualSnapshotRetentionPeriod(Integer manualSnapshotRetentionPeriod)The number of days that manual snapshots are retained in the destination Region after they are copied from a source Region.AwsRedshiftClusterClusterSnapshotCopyStatus.BuilderretentionPeriod(Integer retentionPeriod)The number of days to retain automated snapshots in the destination Region after they are copied from a source Region.AwsRedshiftClusterClusterSnapshotCopyStatus.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
AwsRedshiftClusterClusterSnapshotCopyStatus.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.
-
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
-1or 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
-1or an integer between 1 and 3,653- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
AwsRedshiftClusterClusterSnapshotCopyStatus.Builder retentionPeriod(Integer 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.
-
-