Class CfnSchedulePropsMixin.FlexibleTimeWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.scheduler.CfnSchedulePropsMixin.FlexibleTimeWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchedulePropsMixin.FlexibleTimeWindowProperty>
- Enclosing interface:
CfnSchedulePropsMixin.FlexibleTimeWindowProperty
@Stability(Stable)
public static final class CfnSchedulePropsMixin.FlexibleTimeWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchedulePropsMixin.FlexibleTimeWindowProperty>
A builder for
CfnSchedulePropsMixin.FlexibleTimeWindowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maximumWindowInMinutes(Number maximumWindowInMinutes) Sets the value ofCfnSchedulePropsMixin.FlexibleTimeWindowProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumWindowInMinutes
@Stability(Stable) public CfnSchedulePropsMixin.FlexibleTimeWindowProperty.Builder maximumWindowInMinutes(Number maximumWindowInMinutes) - Parameters:
maximumWindowInMinutes- The maximum time window during which a schedule can be invoked. Minimum :1Maximum :
1440- Returns:
this
-
mode
@Stability(Stable) public CfnSchedulePropsMixin.FlexibleTimeWindowProperty.Builder mode(String mode) Sets the value ofCfnSchedulePropsMixin.FlexibleTimeWindowProperty.getMode()- Parameters:
mode- Determines whether the schedule is invoked within a flexible time window. You must use quotation marks when you specify this value in your JSON or YAML template.Allowed Values :
"OFF"|"FLEXIBLE"- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchedulePropsMixin.FlexibleTimeWindowProperty>- Returns:
- a new instance of
CfnSchedulePropsMixin.FlexibleTimeWindowProperty - Throws:
NullPointerException- if any required attribute was not provided
-