Interface Dataset.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Dataset.Builder,
,Dataset> SdkBuilder<Dataset.Builder,
,Dataset> SdkPojo
- Enclosing class:
Dataset
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<DatasetAction> actions) TheDatasetAction
objects that automatically create the dataset contents.actions
(Consumer<DatasetAction.Builder>... actions) TheDatasetAction
objects that automatically create the dataset contents.actions
(DatasetAction... actions) TheDatasetAction
objects that automatically create the dataset contents.The ARN of the dataset.contentDeliveryRules
(Collection<DatasetContentDeliveryRule> contentDeliveryRules) When dataset contents are created they are delivered to destinations specified here.contentDeliveryRules
(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules) When dataset contents are created they are delivered to destinations specified here.contentDeliveryRules
(DatasetContentDeliveryRule... contentDeliveryRules) When dataset contents are created they are delivered to destinations specified here.creationTime
(Instant creationTime) When the dataset was created.lastUpdateTime
(Instant lastUpdateTime) The last time the dataset was updated.lateDataRules
(Collection<LateDataRule> lateDataRules) A list of data rules that send notifications to CloudWatch, when data arrives late.lateDataRules
(Consumer<LateDataRule.Builder>... lateDataRules) A list of data rules that send notifications to CloudWatch, when data arrives late.lateDataRules
(LateDataRule... lateDataRules) A list of data rules that send notifications to CloudWatch, when data arrives late.The name of the dataset.default Dataset.Builder
retentionPeriod
(Consumer<RetentionPeriod.Builder> retentionPeriod) Optional.retentionPeriod
(RetentionPeriod retentionPeriod) Optional.The status of the dataset.status
(DatasetStatus status) The status of the dataset.triggers
(Collection<DatasetTrigger> triggers) TheDatasetTrigger
objects that specify when the dataset is automatically updated.triggers
(Consumer<DatasetTrigger.Builder>... triggers) TheDatasetTrigger
objects that specify when the dataset is automatically updated.triggers
(DatasetTrigger... triggers) TheDatasetTrigger
objects that specify when the dataset is automatically updated.default Dataset.Builder
versioningConfiguration
(Consumer<VersioningConfiguration.Builder> versioningConfiguration) Optional.versioningConfiguration
(VersioningConfiguration versioningConfiguration) Optional.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the dataset.
- Parameters:
name
- The name of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of the dataset.
- Parameters:
arn
- The ARN of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The
DatasetAction
objects that automatically create the dataset contents.- Parameters:
actions
- TheDatasetAction
objects that automatically create the dataset contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The
DatasetAction
objects that automatically create the dataset contents.- Parameters:
actions
- TheDatasetAction
objects that automatically create the dataset contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
The
This is a convenience method that creates an instance of theDatasetAction
objects that automatically create the dataset contents.DatasetAction.Builder
avoiding the need to create one manually viaDatasetAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactions(List<DatasetAction>)
.- Parameters:
actions
- a consumer that will call methods onDatasetAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggers
The
DatasetTrigger
objects that specify when the dataset is automatically updated.- Parameters:
triggers
- TheDatasetTrigger
objects that specify when the dataset is automatically updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The
DatasetTrigger
objects that specify when the dataset is automatically updated.- Parameters:
triggers
- TheDatasetTrigger
objects that specify when the dataset is automatically updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
The
This is a convenience method that creates an instance of theDatasetTrigger
objects that specify when the dataset is automatically updated.DatasetTrigger.Builder
avoiding the need to create one manually viaDatasetTrigger.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggers(List<DatasetTrigger>)
.- Parameters:
triggers
- a consumer that will call methods onDatasetTrigger.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentDeliveryRules
Dataset.Builder contentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules) When dataset contents are created they are delivered to destinations specified here.
This is a convenience method that creates an instance of theDatasetContentDeliveryRule.Builder
avoiding the need to create one manually viaDatasetContentDeliveryRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontentDeliveryRules(List<DatasetContentDeliveryRule>)
.- Parameters:
contentDeliveryRules
- a consumer that will call methods onDatasetContentDeliveryRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the dataset.
- Parameters:
status
- The status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the dataset.
- Parameters:
status
- The status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
When the dataset was created.
- Parameters:
creationTime
- When the dataset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
The last time the dataset was updated.
- Parameters:
lastUpdateTime
- The last time the dataset was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
Optional. How long, in days, message data is kept for the dataset.
- Parameters:
retentionPeriod
- Optional. How long, in days, message data is kept for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
Optional. How long, in days, message data is kept for the dataset.
This is a convenience method that creates an instance of theRetentionPeriod.Builder
avoiding the need to create one manually viaRetentionPeriod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretentionPeriod(RetentionPeriod)
.- Parameters:
retentionPeriod
- a consumer that will call methods onRetentionPeriod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 IoT Analytics datasets in the IoT Analytics User Guide.- 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 theretentionPeriod
parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versioningConfiguration
default Dataset.Builder versioningConfiguration(Consumer<VersioningConfiguration.Builder> 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
This is a convenience method that creates an instance of theretentionPeriod
parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.VersioningConfiguration.Builder
avoiding the need to create one manually viaVersioningConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toversioningConfiguration(VersioningConfiguration)
.- Parameters:
versioningConfiguration
- a consumer that will call methods onVersioningConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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. To specifylateDataRules
, the dataset must use a DeltaTimer filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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. To specifylateDataRules
, the dataset must use a DeltaTimer filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lateDataRules
A list of data rules that send notifications to CloudWatch, when data arrives late. To specify
This is a convenience method that creates an instance of thelateDataRules
, the dataset must use a DeltaTimer filter.LateDataRule.Builder
avoiding the need to create one manually viaLateDataRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolateDataRules(List<LateDataRule>)
.- Parameters:
lateDataRules
- a consumer that will call methods onLateDataRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-