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 data set contents. |
Dataset.Builder |
actions(Consumer<DatasetAction.Builder>... actions)
The
DatasetAction objects that automatically create the data set contents. |
Dataset.Builder |
actions(DatasetAction... actions)
The
DatasetAction objects that automatically create the data set contents. |
Dataset.Builder |
arn(String arn)
The ARN of the data set.
|
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 data set was created.
|
Dataset.Builder |
lastUpdateTime(Instant lastUpdateTime)
The last time the data set was updated.
|
Dataset.Builder |
lateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
Dataset.Builder |
lateDataRules(Consumer<LateDataRule.Builder>... lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
Dataset.Builder |
lateDataRules(LateDataRule... lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
Dataset.Builder |
name(String name)
The name of the data set.
|
default Dataset.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Optional.
|
Dataset.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
Optional.
|
Dataset.Builder |
status(DatasetStatus status)
The status of the data set.
|
Dataset.Builder |
status(String status)
The status of the data set.
|
Dataset.Builder |
triggers(Collection<DatasetTrigger> triggers)
The
DatasetTrigger objects that specify when the data set is automatically updated. |
Dataset.Builder |
triggers(Consumer<DatasetTrigger.Builder>... triggers)
The
DatasetTrigger objects that specify when the data set is automatically updated. |
Dataset.Builder |
triggers(DatasetTrigger... triggers)
The
DatasetTrigger objects that specify when the data set is automatically updated. |
default Dataset.Builder |
versioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration)
Optional.
|
Dataset.Builder |
versioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
Dataset.Builder name(String name)
The name of the data set.
name
- The name of the data set.Dataset.Builder arn(String arn)
The ARN of the data set.
arn
- The ARN of the data set.Dataset.Builder actions(Collection<DatasetAction> actions)
The DatasetAction
objects that automatically create the data set contents.
actions
- The DatasetAction
objects that automatically create the data set contents.Dataset.Builder actions(DatasetAction... actions)
The DatasetAction
objects that automatically create the data set contents.
actions
- The DatasetAction
objects that automatically create the data set contents.Dataset.Builder actions(Consumer<DatasetAction.Builder>... actions)
The DatasetAction
objects that automatically create the data set contents.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #actions(List)
.actions
- a consumer that will call methods on List.Builder
#actions(List)
Dataset.Builder triggers(Collection<DatasetTrigger> triggers)
The DatasetTrigger
objects that specify when the data set is automatically updated.
triggers
- The DatasetTrigger
objects that specify when the data set is automatically updated.Dataset.Builder triggers(DatasetTrigger... triggers)
The DatasetTrigger
objects that specify when the data set is automatically updated.
triggers
- The DatasetTrigger
objects that specify when the data set is automatically updated.Dataset.Builder triggers(Consumer<DatasetTrigger.Builder>... triggers)
The DatasetTrigger
objects that specify when the data set is automatically updated.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #triggers(List)
.triggers
- a consumer that will call methods on List.Builder
#triggers(List)
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 that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called
immediately and its result is passed to #contentDeliveryRules(List)
.contentDeliveryRules
- a consumer that will call methods on List.Builder
#contentDeliveryRules(List)
Dataset.Builder status(String status)
The status of the data set.
status
- The status of the data set.DatasetStatus
,
DatasetStatus
Dataset.Builder status(DatasetStatus status)
The status of the data set.
status
- The status of the data set.DatasetStatus
,
DatasetStatus
Dataset.Builder creationTime(Instant creationTime)
When the data set was created.
creationTime
- When the data set was created.Dataset.Builder lastUpdateTime(Instant lastUpdateTime)
The last time the data set was updated.
lastUpdateTime
- The last time the data set was updated.Dataset.Builder retentionPeriod(RetentionPeriod retentionPeriod)
Optional. How long, in days, message data is kept for the data set.
retentionPeriod
- Optional. How long, in days, message data is kept for the data set.default Dataset.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Optional. How long, in days, message data is kept for the data set.
This is a convenience 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.Builder
retentionPeriod(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 AWS IoT Analytics Data Sets in the AWS 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 AWS IoT Analytics Data Sets in the AWS 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 AWS IoT Analytics Data Sets in the AWS 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.Builder
versioningConfiguration(VersioningConfiguration)
Dataset.Builder lateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to Amazon 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 Amazon 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 Amazon 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 Amazon 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 Amazon CloudWatch, when data arrives late. To specify
lateDataRules
, the dataset must use a DeltaTimer filter.
List.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #lateDataRules(List)
.lateDataRules
- a consumer that will call methods on List.Builder
#lateDataRules(List)