Class CfnDataset.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset>
- Enclosing class:
CfnDataset
CfnDataset
.-
Method Summary
Modifier and TypeMethodDescriptionTheDatasetAction
objects that automatically create the dataset contents.actions
(IResolvable actions) TheDatasetAction
objects that automatically create the dataset contents.build()
contentDeliveryRules
(List<? extends Object> contentDeliveryRules) When dataset contents are created they are delivered to destinations specified here.contentDeliveryRules
(IResolvable contentDeliveryRules) When dataset contents are created they are delivered to destinations specified here.static CfnDataset.Builder
datasetName
(String datasetName) The name of the dataset.lateDataRules
(List<? extends Object> lateDataRules) A list of data rules that send notifications to CloudWatch, when data arrives late.lateDataRules
(IResolvable lateDataRules) A list of data rules that send notifications to CloudWatch, when data arrives late.retentionPeriod
(IResolvable retentionPeriod) Optional.retentionPeriod
(CfnDataset.RetentionPeriodProperty retentionPeriod) Optional.Metadata which can be used to manage the data set.TheDatasetTrigger
objects that specify when the dataset is automatically updated.triggers
(IResolvable triggers) TheDatasetTrigger
objects that specify when the dataset is automatically updated.versioningConfiguration
(IResolvable versioningConfiguration) Optional.versioningConfiguration
(CfnDataset.VersioningConfigurationProperty versioningConfiguration) Optional.
-
Method Details
-
create
@Stability(Stable) public static CfnDataset.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnDataset.Builder
.
-
actions
TheDatasetAction
objects that automatically create the dataset contents.- Parameters:
actions
- TheDatasetAction
objects that automatically create the dataset contents. This parameter is required.- Returns:
this
- See Also:
-
actions
TheDatasetAction
objects that automatically create the dataset contents.- Parameters:
actions
- TheDatasetAction
objects that automatically create the dataset contents. This parameter is required.- Returns:
this
- See Also:
-
contentDeliveryRules
When dataset contents are created they are delivered to destinations specified here.- Parameters:
contentDeliveryRules
- When dataset contents are created they are delivered to destinations specified here. This parameter is required.- Returns:
this
- See Also:
-
contentDeliveryRules
@Stability(Stable) public CfnDataset.Builder contentDeliveryRules(List<? extends Object> contentDeliveryRules) When dataset contents are created they are delivered to destinations specified here.- Parameters:
contentDeliveryRules
- When dataset contents are created they are delivered to destinations specified here. This parameter is required.- Returns:
this
- See Also:
-
datasetName
The name of the dataset.- Parameters:
datasetName
- The name of the dataset. This parameter is required.- Returns:
this
- See Also:
-
lateDataRules
A list of data rules that send notifications to CloudWatch, when data arrives late.To specify
lateDataRules
, the dataset must use a DeltaTimer filter.- Parameters:
lateDataRules
- A list of data rules that send notifications to CloudWatch, when data arrives late. This parameter is required.- Returns:
this
- See Also:
-
lateDataRules
A list of data rules that send notifications to CloudWatch, when data arrives late.To specify
lateDataRules
, the dataset must use a DeltaTimer filter.- Parameters:
lateDataRules
- A list of data rules that send notifications to CloudWatch, when data arrives late. This parameter is required.- Returns:
this
- See Also:
-
retentionPeriod
Optional.How long, in days, message data is kept for the dataset.
- Parameters:
retentionPeriod
- Optional. This parameter is required.- Returns:
this
- See Also:
-
retentionPeriod
@Stability(Stable) public CfnDataset.Builder retentionPeriod(CfnDataset.RetentionPeriodProperty retentionPeriod) Optional.How long, in days, message data is kept for the dataset.
- Parameters:
retentionPeriod
- Optional. This parameter is required.- Returns:
this
- See Also:
-
tags
Metadata which can be used to manage the data set.For more information, see Tag .
- Parameters:
tags
- Metadata which can be used to manage the data set. This parameter is required.- Returns:
this
- See Also:
-
triggers
TheDatasetTrigger
objects that specify when the dataset is automatically updated.- Parameters:
triggers
- TheDatasetTrigger
objects that specify when the dataset is automatically updated. This parameter is required.- Returns:
this
- See Also:
-
triggers
TheDatasetTrigger
objects that specify when the dataset is automatically updated.- Parameters:
triggers
- TheDatasetTrigger
objects that specify when the dataset is automatically updated. This parameter is required.- Returns:
this
- See Also:
-
versioningConfiguration
@Stability(Stable) public CfnDataset.Builder versioningConfiguration(IResolvable 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 the
retentionPeriod
parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics datasets in the AWS IoT Analytics User Guide .- Parameters:
versioningConfiguration
- Optional. This parameter is required.- Returns:
this
- See Also:
-
versioningConfiguration
@Stability(Stable) public CfnDataset.Builder versioningConfiguration(CfnDataset.VersioningConfigurationProperty 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 the
retentionPeriod
parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics datasets in the AWS IoT Analytics User Guide .- Parameters:
versioningConfiguration
- Optional. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataset>
- Returns:
- a newly built instance of
CfnDataset
.
-