Class CfnAutomationRulePropsMixin.ScheduleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.computeoptimizer.CfnAutomationRulePropsMixin.ScheduleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.ScheduleProperty>
- Enclosing interface:
CfnAutomationRulePropsMixin.ScheduleProperty
@Stability(Stable)
public static final class CfnAutomationRulePropsMixin.ScheduleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAutomationRulePropsMixin.ScheduleProperty>
A builder for
CfnAutomationRulePropsMixin.ScheduleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executionWindowInMinutes(Number executionWindowInMinutes) scheduleExpression(String scheduleExpression) Sets the value ofCfnAutomationRulePropsMixin.ScheduleProperty.getScheduleExpression()scheduleExpressionTimezone(String scheduleExpressionTimezone)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionWindowInMinutes
@Stability(Stable) public CfnAutomationRulePropsMixin.ScheduleProperty.Builder executionWindowInMinutes(Number executionWindowInMinutes) - Parameters:
executionWindowInMinutes- Execution window duration in minutes.- Returns:
this
-
scheduleExpression
@Stability(Stable) public CfnAutomationRulePropsMixin.ScheduleProperty.Builder scheduleExpression(String scheduleExpression) Sets the value ofCfnAutomationRulePropsMixin.ScheduleProperty.getScheduleExpression()- Parameters:
scheduleExpression- Schedule expression (e.g., cron or rate expression).- Returns:
this
-
scheduleExpressionTimezone
@Stability(Stable) public CfnAutomationRulePropsMixin.ScheduleProperty.Builder scheduleExpressionTimezone(String scheduleExpressionTimezone) - Parameters:
scheduleExpressionTimezone- IANA timezone identifier.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAutomationRulePropsMixin.ScheduleProperty>- Returns:
- a new instance of
CfnAutomationRulePropsMixin.ScheduleProperty - Throws:
NullPointerException- if any required attribute was not provided
-