Class CfnSchedule.FlexibleTimeWindowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.scheduler.CfnSchedule.FlexibleTimeWindowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchedule.FlexibleTimeWindowProperty>
- Enclosing interface:
- CfnSchedule.FlexibleTimeWindowProperty
@Stability(Stable)
public static final class CfnSchedule.FlexibleTimeWindowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSchedule.FlexibleTimeWindowProperty>
A builder for
CfnSchedule.FlexibleTimeWindowProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.maximumWindowInMinutes
(Number maximumWindowInMinutes) Sets the value ofCfnSchedule.FlexibleTimeWindowProperty.getMaximumWindowInMinutes()
Sets the value ofCfnSchedule.FlexibleTimeWindowProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
Sets the value ofCfnSchedule.FlexibleTimeWindowProperty.getMode()
- Parameters:
mode
- Determines whether the schedule is invoked within a flexible time window. This parameter is required. Allowed Values :OFF
|FLEXIBLE
- Returns:
this
-
maximumWindowInMinutes
@Stability(Stable) public CfnSchedule.FlexibleTimeWindowProperty.Builder maximumWindowInMinutes(Number maximumWindowInMinutes) Sets the value ofCfnSchedule.FlexibleTimeWindowProperty.getMaximumWindowInMinutes()
- Parameters:
maximumWindowInMinutes
- The maximum time window during which a schedule can be invoked. Minimum :1
Maximum :
1440
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSchedule.FlexibleTimeWindowProperty>
- Returns:
- a new instance of
CfnSchedule.FlexibleTimeWindowProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-