Class CfnSnapshotSchedulePropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnSnapshotSchedulePropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSnapshotSchedulePropsMixin>
- Enclosing class:
CfnSnapshotSchedulePropsMixin
@Stability(Stable)
public static final class CfnSnapshotSchedulePropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSnapshotSchedulePropsMixin>
A fluent builder for
CfnSnapshotSchedulePropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) scheduleDefinitions(List<String> scheduleDefinitions) The definition of the snapshot schedule.scheduleDescription(String scheduleDescription) The description of the snapshot schedule.scheduleIdentifier(String scheduleIdentifier) A unique identifier for the snapshot schedule.An optional set of tags for the snapshot schedule.
-
Method Details
-
create
@Stability(Stable) public static CfnSnapshotSchedulePropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnSnapshotSchedulePropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnSnapshotSchedulePropsMixin.Builder.
-
scheduleDefinitions
@Stability(Stable) public CfnSnapshotSchedulePropsMixin.Builder scheduleDefinitions(List<String> scheduleDefinitions) The definition of the snapshot schedule.The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".
- Parameters:
scheduleDefinitions- The definition of the snapshot schedule. This parameter is required.- Returns:
this- See Also:
-
scheduleDescription
@Stability(Stable) public CfnSnapshotSchedulePropsMixin.Builder scheduleDescription(String scheduleDescription) The description of the snapshot schedule.- Parameters:
scheduleDescription- The description of the snapshot schedule. This parameter is required.- Returns:
this- See Also:
-
scheduleIdentifier
@Stability(Stable) public CfnSnapshotSchedulePropsMixin.Builder scheduleIdentifier(String scheduleIdentifier) A unique identifier for the snapshot schedule.Only alphanumeric characters are allowed.
- Parameters:
scheduleIdentifier- A unique identifier for the snapshot schedule. This parameter is required.- Returns:
this- See Also:
-
tags
An optional set of tags for the snapshot schedule.- Parameters:
tags- An optional set of tags for the snapshot schedule. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSnapshotSchedulePropsMixin>- Returns:
- a newly built instance of
CfnSnapshotSchedulePropsMixin.
-