Class CfnSnapshotPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.redshiftserverless.mixins.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()create()create(CfnPropertyMixinOptions options) namespaceName(String namespaceName) The name of the namepsace.retentionPeriod(Number retentionPeriod) The retention period of the snapshot created by the scheduled action.snapshotName(String snapshotName) The name of the snapshot.An array of Tag objects to associate with the snapshot.
-
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.
-
namespaceName
The name of the namepsace.- Parameters:
namespaceName- The name of the namepsace. This parameter is required.- Returns:
this- See Also:
-
retentionPeriod
The retention period of the snapshot created by the scheduled action.- Parameters:
retentionPeriod- The retention period of the snapshot created by the scheduled action. This parameter is required.- Returns:
this- See Also:
-
snapshotName
The name of the snapshot.- Parameters:
snapshotName- The name of the snapshot. This parameter is required.- Returns:
this- See Also:
-
tags
An array of Tag objects to associate with the snapshot.- Parameters:
tags- An array of Tag objects to associate with the snapshot. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSnapshotPropsMixin>- Returns:
- a newly built instance of
CfnSnapshotPropsMixin.
-