Class CfnSnapshotScheduleMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.redshift.CfnSnapshotScheduleMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSnapshotScheduleMixinProps>
- Enclosing interface:
CfnSnapshotScheduleMixinProps
@Stability(Stable)
public static final class CfnSnapshotScheduleMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSnapshotScheduleMixinProps>
A builder for
CfnSnapshotScheduleMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.scheduleDefinitions(List<String> scheduleDefinitions) Sets the value ofCfnSnapshotScheduleMixinProps.getScheduleDefinitions()scheduleDescription(String scheduleDescription) Sets the value ofCfnSnapshotScheduleMixinProps.getScheduleDescription()scheduleIdentifier(String scheduleIdentifier) Sets the value ofCfnSnapshotScheduleMixinProps.getScheduleIdentifier()Sets the value ofCfnSnapshotScheduleMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scheduleDefinitions
@Stability(Stable) public CfnSnapshotScheduleMixinProps.Builder scheduleDefinitions(List<String> scheduleDefinitions) Sets the value ofCfnSnapshotScheduleMixinProps.getScheduleDefinitions()- Parameters:
scheduleDefinitions- The definition of the snapshot schedule. The definition is made up of schedule expressions, for example "cron(30 12 *)" or "rate(12 hours)".- Returns:
this
-
scheduleDescription
@Stability(Stable) public CfnSnapshotScheduleMixinProps.Builder scheduleDescription(String scheduleDescription) Sets the value ofCfnSnapshotScheduleMixinProps.getScheduleDescription()- Parameters:
scheduleDescription- The description of the snapshot schedule.- Returns:
this
-
scheduleIdentifier
@Stability(Stable) public CfnSnapshotScheduleMixinProps.Builder scheduleIdentifier(String scheduleIdentifier) Sets the value ofCfnSnapshotScheduleMixinProps.getScheduleIdentifier()- Parameters:
scheduleIdentifier- A unique identifier for the snapshot schedule. Only alphanumeric characters are allowed.- Returns:
this
-
tags
Sets the value ofCfnSnapshotScheduleMixinProps.getTags()- Parameters:
tags- An optional set of tags for the snapshot schedule.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSnapshotScheduleMixinProps>- Returns:
- a new instance of
CfnSnapshotScheduleMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-