Class CfnSnapshotPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnSnapshotPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSnapshotPropsMixin>
- Enclosing class:
CfnSnapshotPropsMixin
@Stability(Stable)
public static final class CfnSnapshotPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSnapshotPropsMixin>
A fluent builder for
CfnSnapshotPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()clusterIdentifier(String clusterIdentifier) The cluster identifier for which you want a snapshot.create()create(CfnPropertyMixinOptions options) manualSnapshotRetentionPeriod(Number manualSnapshotRetentionPeriod) The number of days that a manual snapshot is retained.snapshotIdentifier(String snapshotIdentifier) A unique identifier for the snapshot that you are requesting.A list of tag instances.
-
Method Details
-
create
@Stability(Stable) public static CfnSnapshotPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSnapshotPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSnapshotPropsMixin.Builder.
-
clusterIdentifier
The cluster identifier for which you want a snapshot.- Parameters:
clusterIdentifier- The cluster identifier for which you want a snapshot. This parameter is required.- Returns:
this- See Also:
-
manualSnapshotRetentionPeriod
@Stability(Stable) public CfnSnapshotPropsMixin.Builder manualSnapshotRetentionPeriod(Number manualSnapshotRetentionPeriod) The number of days that a manual snapshot is retained.If the value is -1, the manual snapshot is retained indefinitely. The value must be either -1 or an integer between 1 and 3653.
- Parameters:
manualSnapshotRetentionPeriod- The number of days that a manual snapshot is retained. This parameter is required.- Returns:
this- See Also:
-
snapshotIdentifier
@Stability(Stable) public CfnSnapshotPropsMixin.Builder snapshotIdentifier(String snapshotIdentifier) A unique identifier for the snapshot that you are requesting.This identifier must be unique for all snapshots within the Amazon Web Services account.
- Parameters:
snapshotIdentifier- A unique identifier for the snapshot that you are requesting. This parameter is required.- Returns:
this- See Also:
-
tags
A list of tag instances.- Parameters:
tags- A list of tag instances. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSnapshotPropsMixin>- Returns:
- a newly built instance of
CfnSnapshotPropsMixin.
-