public static interface Dataset.Builder extends SdkPojo, CopyableBuilder<Dataset.Builder,Dataset>
| Modifier and Type | Method and Description |
|---|---|
Dataset.Builder |
actions(Collection<DatasetAction> actions)
The
DatasetAction objects that automatically create the dataset contents. |
Dataset.Builder |
actions(Consumer<DatasetAction.Builder>... actions)
The
DatasetAction objects that automatically create the dataset contents. |
Dataset.Builder |
actions(DatasetAction... actions)
The
DatasetAction objects that automatically create the dataset contents. |
Dataset.Builder |
arn(String arn)
The ARN of the dataset.
|
Dataset.Builder |
contentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
|
Dataset.Builder |
contentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
|
Dataset.Builder |
contentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
|
Dataset.Builder |
creationTime(Instant creationTime)
When the dataset was created.
|
Dataset.Builder |
lastUpdateTime(Instant lastUpdateTime)
The last time the dataset was updated.
|
Dataset.Builder |
lateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
Dataset.Builder |
lateDataRules(Consumer<LateDataRule.Builder>... lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
Dataset.Builder |
lateDataRules(LateDataRule... lateDataRules)
A list of data rules that send notifications to CloudWatch, when data arrives late.
|
Dataset.Builder |
name(String name)
The name of the dataset.
|
default Dataset.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Optional.
|
Dataset.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
Optional.
|
Dataset.Builder |
status(DatasetStatus status)
The status of the dataset.
|
Dataset.Builder |
status(String status)
The status of the dataset.
|
Dataset.Builder |
triggers(Collection<DatasetTrigger> triggers)
The
DatasetTrigger objects that specify when the dataset is automatically updated. |
Dataset.Builder |
triggers(Consumer<DatasetTrigger.Builder>... triggers)
The
DatasetTrigger objects that specify when the dataset is automatically updated. |
Dataset.Builder |
triggers(DatasetTrigger... triggers)
The
DatasetTrigger objects that specify when the dataset is automatically updated. |
default Dataset.Builder |
versioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration)
Optional.
|
Dataset.Builder |
versioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataset.Builder name(String name)
The name of the dataset.
name - The name of the dataset.Dataset.Builder arn(String arn)
The ARN of the dataset.
arn - The ARN of the dataset.Dataset.Builder actions(Collection<DatasetAction> actions)
The DatasetAction objects that automatically create the dataset contents.
actions - The DatasetAction objects that automatically create the dataset contents.Dataset.Builder actions(DatasetAction... actions)
The DatasetAction objects that automatically create the dataset contents.
actions - The DatasetAction objects that automatically create the dataset contents.Dataset.Builder actions(Consumer<DatasetAction.Builder>... actions)
The DatasetAction objects that automatically create the dataset contents.
DatasetAction.Builder avoiding the need to create
one manually via DatasetAction.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #actions(List.
actions - a consumer that will call methods on
DatasetAction.Builder#actions(java.util.Collection) Dataset.Builder triggers(Collection<DatasetTrigger> triggers)
The DatasetTrigger objects that specify when the dataset is automatically updated.
triggers - The DatasetTrigger objects that specify when the dataset is automatically updated.Dataset.Builder triggers(DatasetTrigger... triggers)
The DatasetTrigger objects that specify when the dataset is automatically updated.
triggers - The DatasetTrigger objects that specify when the dataset is automatically updated.Dataset.Builder triggers(Consumer<DatasetTrigger.Builder>... triggers)
The DatasetTrigger objects that specify when the dataset is automatically updated.
DatasetTrigger.Builder avoiding the need to create
one manually via DatasetTrigger.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #triggers(List.
triggers - a consumer that will call methods on
DatasetTrigger.Builder#triggers(java.util.Collection) Dataset.Builder contentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
contentDeliveryRules - When dataset contents are created they are delivered to destinations specified here.Dataset.Builder contentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When dataset contents are created they are delivered to destinations specified here.
contentDeliveryRules - When dataset contents are created they are delivered to destinations specified here.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 via
DatasetContentDeliveryRule.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #contentDeliveryRules(List.
contentDeliveryRules - a consumer that will call methods on
DatasetContentDeliveryRule.Builder#contentDeliveryRules(java.util.Collection) Dataset.Builder status(String status)
The status of the dataset.
status - The status of the dataset.DatasetStatus,
DatasetStatusDataset.Builder status(DatasetStatus status)
The status of the dataset.
status - The status of the dataset.DatasetStatus,
DatasetStatusDataset.Builder creationTime(Instant creationTime)
When the dataset was created.
creationTime - When the dataset was created.Dataset.Builder lastUpdateTime(Instant lastUpdateTime)
The last time the dataset was updated.
lastUpdateTime - The last time the dataset was updated.Dataset.Builder retentionPeriod(RetentionPeriod retentionPeriod)
Optional. How long, in days, message data is kept for the dataset.
retentionPeriod - Optional. How long, in days, message data is kept for the dataset.default Dataset.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> 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 via RetentionPeriod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to retentionPeriod(RetentionPeriod).
retentionPeriod - a consumer that will call methods on RetentionPeriod.BuilderretentionPeriod(RetentionPeriod)Dataset.Builder versioningConfiguration(VersioningConfiguration 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.
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.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 retentionPeriod 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 via VersioningConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to versioningConfiguration(VersioningConfiguration).
versioningConfiguration - a consumer that will call methods on VersioningConfiguration.BuilderversioningConfiguration(VersioningConfiguration)Dataset.Builder lateDataRules(Collection<LateDataRule> 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.
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.Dataset.Builder lateDataRules(LateDataRule... 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.
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.Dataset.Builder lateDataRules(Consumer<LateDataRule.Builder>... 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.
LateDataRule.Builder avoiding the need to create
one manually via LateDataRule.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #lateDataRules(List.
lateDataRules - a consumer that will call methods on
LateDataRule.Builder#lateDataRules(java.util.Collection) Copyright © 2023. All rights reserved.