Class CfnDataset.TriggerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotanalytics.CfnDataset.TriggerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.TriggerProperty>
- Enclosing interface:
CfnDataset.TriggerProperty
@Stability(Stable)
public static final class CfnDataset.TriggerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.TriggerProperty>
A builder for
CfnDataset.TriggerProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.schedule
(IResolvable schedule) Sets the value ofCfnDataset.TriggerProperty.getSchedule()
schedule
(CfnDataset.ScheduleProperty schedule) Sets the value ofCfnDataset.TriggerProperty.getSchedule()
triggeringDataset
(IResolvable triggeringDataset) Sets the value ofCfnDataset.TriggerProperty.getTriggeringDataset()
triggeringDataset
(CfnDataset.TriggeringDatasetProperty triggeringDataset) Sets the value ofCfnDataset.TriggerProperty.getTriggeringDataset()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
schedule
Sets the value ofCfnDataset.TriggerProperty.getSchedule()
- Parameters:
schedule
- The "Schedule" when the trigger is initiated.- Returns:
this
-
schedule
@Stability(Stable) public CfnDataset.TriggerProperty.Builder schedule(CfnDataset.ScheduleProperty schedule) Sets the value ofCfnDataset.TriggerProperty.getSchedule()
- Parameters:
schedule
- The "Schedule" when the trigger is initiated.- Returns:
this
-
triggeringDataset
@Stability(Stable) public CfnDataset.TriggerProperty.Builder triggeringDataset(IResolvable triggeringDataset) Sets the value ofCfnDataset.TriggerProperty.getTriggeringDataset()
- Parameters:
triggeringDataset
- Information about the data set whose content generation triggers the new data set content generation.- Returns:
this
-
triggeringDataset
@Stability(Stable) public CfnDataset.TriggerProperty.Builder triggeringDataset(CfnDataset.TriggeringDatasetProperty triggeringDataset) Sets the value ofCfnDataset.TriggerProperty.getTriggeringDataset()
- Parameters:
triggeringDataset
- Information about the data set whose content generation triggers the new data set content generation.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset.TriggerProperty>
- Returns:
- a new instance of
CfnDataset.TriggerProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-