Class CfnDatasetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotanalytics.CfnDatasetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetMixinProps>
- Enclosing interface:
CfnDatasetMixinProps
@Stability(Stable)
public static final class CfnDatasetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetMixinProps>
A builder for
CfnDatasetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDatasetMixinProps.getActions()actions(IResolvable actions) Sets the value ofCfnDatasetMixinProps.getActions()build()Builds the configured instance.contentDeliveryRules(List<? extends Object> contentDeliveryRules) Sets the value ofCfnDatasetMixinProps.getContentDeliveryRules()contentDeliveryRules(IResolvable contentDeliveryRules) Sets the value ofCfnDatasetMixinProps.getContentDeliveryRules()datasetName(String datasetName) Sets the value ofCfnDatasetMixinProps.getDatasetName()lateDataRules(List<? extends Object> lateDataRules) Sets the value ofCfnDatasetMixinProps.getLateDataRules()lateDataRules(IResolvable lateDataRules) Sets the value ofCfnDatasetMixinProps.getLateDataRules()retentionPeriod(CfnDatasetPropsMixin.RetentionPeriodProperty retentionPeriod) Sets the value ofCfnDatasetMixinProps.getRetentionPeriod()retentionPeriod(IResolvable retentionPeriod) Sets the value ofCfnDatasetMixinProps.getRetentionPeriod()Sets the value ofCfnDatasetMixinProps.getTags()Sets the value ofCfnDatasetMixinProps.getTriggers()triggers(IResolvable triggers) Sets the value ofCfnDatasetMixinProps.getTriggers()versioningConfiguration(CfnDatasetPropsMixin.VersioningConfigurationProperty versioningConfiguration) Sets the value ofCfnDatasetMixinProps.getVersioningConfiguration()versioningConfiguration(IResolvable versioningConfiguration) Sets the value ofCfnDatasetMixinProps.getVersioningConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
Sets the value ofCfnDatasetMixinProps.getActions()- Parameters:
actions- TheDatasetActionobjects that automatically create the dataset contents.- Returns:
this
-
actions
Sets the value ofCfnDatasetMixinProps.getActions()- Parameters:
actions- TheDatasetActionobjects that automatically create the dataset contents.- Returns:
this
-
contentDeliveryRules
@Stability(Stable) public CfnDatasetMixinProps.Builder contentDeliveryRules(IResolvable contentDeliveryRules) Sets the value ofCfnDatasetMixinProps.getContentDeliveryRules()- Parameters:
contentDeliveryRules- When dataset contents are created they are delivered to destinations specified here.- Returns:
this
-
contentDeliveryRules
@Stability(Stable) public CfnDatasetMixinProps.Builder contentDeliveryRules(List<? extends Object> contentDeliveryRules) Sets the value ofCfnDatasetMixinProps.getContentDeliveryRules()- Parameters:
contentDeliveryRules- When dataset contents are created they are delivered to destinations specified here.- Returns:
this
-
datasetName
Sets the value ofCfnDatasetMixinProps.getDatasetName()- Parameters:
datasetName- The name of the dataset.- Returns:
this
-
lateDataRules
Sets the value ofCfnDatasetMixinProps.getLateDataRules()- Parameters:
lateDataRules- A list of data rules that send notifications to CloudWatch, when data arrives late. To specifylateDataRules, the dataset must use a DeltaTimer filter.- Returns:
this
-
lateDataRules
@Stability(Stable) public CfnDatasetMixinProps.Builder lateDataRules(List<? extends Object> lateDataRules) Sets the value ofCfnDatasetMixinProps.getLateDataRules()- Parameters:
lateDataRules- A list of data rules that send notifications to CloudWatch, when data arrives late. To specifylateDataRules, the dataset must use a DeltaTimer filter.- Returns:
this
-
retentionPeriod
Sets the value ofCfnDatasetMixinProps.getRetentionPeriod()- Parameters:
retentionPeriod- Optional. How long, in days, message data is kept for the dataset.- Returns:
this
-
retentionPeriod
@Stability(Stable) public CfnDatasetMixinProps.Builder retentionPeriod(CfnDatasetPropsMixin.RetentionPeriodProperty retentionPeriod) Sets the value ofCfnDatasetMixinProps.getRetentionPeriod()- Parameters:
retentionPeriod- Optional. How long, in days, message data is kept for the dataset.- Returns:
this
-
tags
Sets the value ofCfnDatasetMixinProps.getTags()- Parameters:
tags- Metadata which can be used to manage the data set. For more information, see Tag .- Returns:
this
-
triggers
Sets the value ofCfnDatasetMixinProps.getTriggers()- Parameters:
triggers- TheDatasetTriggerobjects that specify when the dataset is automatically updated.- Returns:
this
-
triggers
Sets the value ofCfnDatasetMixinProps.getTriggers()- Parameters:
triggers- TheDatasetTriggerobjects that specify when the dataset is automatically updated.- Returns:
this
-
versioningConfiguration
@Stability(Stable) public CfnDatasetMixinProps.Builder versioningConfiguration(IResolvable versioningConfiguration) Sets the value ofCfnDatasetMixinProps.getVersioningConfiguration()- Parameters:
versioningConfiguration- Optional. How many versions of dataset contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by theretentionPeriodparameter. For more information, see Keeping Multiple Versions of ITA datasets in the ITA User Guide .- Returns:
this
-
versioningConfiguration
@Stability(Stable) public CfnDatasetMixinProps.Builder versioningConfiguration(CfnDatasetPropsMixin.VersioningConfigurationProperty versioningConfiguration) Sets the value ofCfnDatasetMixinProps.getVersioningConfiguration()- Parameters:
versioningConfiguration- Optional. How many versions of dataset contents are kept. If not specified or set to null, only the latest version plus the latest succeeded version (if they are different) are kept for the time period specified by theretentionPeriodparameter. For more information, see Keeping Multiple Versions of ITA datasets in the ITA User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetMixinProps>- Returns:
- a new instance of
CfnDatasetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-