Class CfnWorkflow.ScheduleConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mwaaserverless.CfnWorkflow.ScheduleConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkflow.ScheduleConfigurationProperty>
- Enclosing interface:
CfnWorkflow.ScheduleConfigurationProperty
@Stability(Stable)
public static final class CfnWorkflow.ScheduleConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkflow.ScheduleConfigurationProperty>
A builder for
CfnWorkflow.ScheduleConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.cronExpression(String cronExpression) Sets the value ofCfnWorkflow.ScheduleConfigurationProperty.getCronExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cronExpression
@Stability(Stable) public CfnWorkflow.ScheduleConfigurationProperty.Builder cronExpression(String cronExpression) Sets the value ofCfnWorkflow.ScheduleConfigurationProperty.getCronExpression()- Parameters:
cronExpression- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkflow.ScheduleConfigurationProperty>- Returns:
- a new instance of
CfnWorkflow.ScheduleConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-