Class CfnSnapshotSchedule.Builder
java.lang.Object
software.amazon.awscdk.services.redshift.CfnSnapshotSchedule.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSnapshotSchedule>
- Enclosing class:
CfnSnapshotSchedule
@Stability(Stable)
public static final class CfnSnapshotSchedule.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSnapshotSchedule>
A fluent builder for
CfnSnapshotSchedule.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnSnapshotSchedule.BuilderscheduleDefinitions(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 CfnSnapshotSchedule.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnSnapshotSchedule.Builder.
-
scheduleDefinitions
@Stability(Stable) public CfnSnapshotSchedule.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:
-
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:
-
scheduleDescription
@Stability(Stable) public CfnSnapshotSchedule.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:
-
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<CfnSnapshotSchedule>- Returns:
- a newly built instance of
CfnSnapshotSchedule.
-