Class CfnDataset.ScheduleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDataset.ScheduleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.ScheduleProperty>
- Enclosing interface:
CfnDataset.ScheduleProperty
@Stability(Stable)
public static final class CfnDataset.ScheduleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.ScheduleProperty>
A builder for
CfnDataset.ScheduleProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.scheduleExpression
(String scheduleExpression) Sets the value ofCfnDataset.ScheduleProperty.getScheduleExpression()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
scheduleExpression
@Stability(Stable) public CfnDataset.ScheduleProperty.Builder scheduleExpression(String scheduleExpression) Sets the value ofCfnDataset.ScheduleProperty.getScheduleExpression()
- Parameters:
scheduleExpression
- The expression that defines when to trigger an update. This parameter is required. For more information, see Schedule Expressions for Rules in the Amazon CloudWatch documentation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.ScheduleProperty>
- Returns:
- a new instance of
CfnDataset.ScheduleProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-