public static interface CreateDatasetRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>
Modifier and Type | Method and Description |
---|---|
CreateDatasetRequest.Builder |
actions(Collection<DatasetAction> actions)
A list of actions that create the data set contents.
|
CreateDatasetRequest.Builder |
actions(Consumer<DatasetAction.Builder>... actions)
A list of actions that create the data set contents.
|
CreateDatasetRequest.Builder |
actions(DatasetAction... actions)
A list of actions that create the data set contents.
|
CreateDatasetRequest.Builder |
contentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
When dataset contents are created, they are delivered to destinations specified here.
|
CreateDatasetRequest.Builder |
contentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)
When dataset contents are created, they are delivered to destinations specified here.
|
CreateDatasetRequest.Builder |
contentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
When dataset contents are created, they are delivered to destinations specified here.
|
CreateDatasetRequest.Builder |
datasetName(String datasetName)
The name of the data set.
|
CreateDatasetRequest.Builder |
lateDataRules(Collection<LateDataRule> lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
CreateDatasetRequest.Builder |
lateDataRules(Consumer<LateDataRule.Builder>... lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
CreateDatasetRequest.Builder |
lateDataRules(LateDataRule... lateDataRules)
A list of data rules that send notifications to Amazon CloudWatch, when data arrives late.
|
CreateDatasetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDatasetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default CreateDatasetRequest.Builder |
retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Optional.
|
CreateDatasetRequest.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
Optional.
|
CreateDatasetRequest.Builder |
tags(Collection<Tag> tags)
Metadata which can be used to manage the data set.
|
CreateDatasetRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the data set.
|
CreateDatasetRequest.Builder |
tags(Tag... tags)
Metadata which can be used to manage the data set.
|
CreateDatasetRequest.Builder |
triggers(Collection<DatasetTrigger> triggers)
A list of triggers.
|
CreateDatasetRequest.Builder |
triggers(Consumer<DatasetTrigger.Builder>... triggers)
A list of triggers.
|
CreateDatasetRequest.Builder |
triggers(DatasetTrigger... triggers)
A list of triggers.
|
default CreateDatasetRequest.Builder |
versioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration)
Optional.
|
CreateDatasetRequest.Builder |
versioningConfiguration(VersioningConfiguration versioningConfiguration)
Optional.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateDatasetRequest.Builder datasetName(String datasetName)
The name of the data set.
datasetName
- The name of the data set.CreateDatasetRequest.Builder actions(Collection<DatasetAction> actions)
A list of actions that create the data set contents.
actions
- A list of actions that create the data set contents.CreateDatasetRequest.Builder actions(DatasetAction... actions)
A list of actions that create the data set contents.
actions
- A list of actions that create the data set contents.CreateDatasetRequest.Builder actions(Consumer<DatasetAction.Builder>... actions)
A list of actions that create the data set contents.
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 #actions(List)
.actions
- a consumer that will call methods on List.Builder
#actions(List)
CreateDatasetRequest.Builder triggers(Collection<DatasetTrigger> triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when
another data set's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger
objects.
triggers
- A list of triggers. A trigger causes data set contents to be populated at a specified time interval or
when another data set's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger
objects.CreateDatasetRequest.Builder triggers(DatasetTrigger... triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when
another data set's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger
objects.
triggers
- A list of triggers. A trigger causes data set contents to be populated at a specified time interval or
when another data set's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger
objects.CreateDatasetRequest.Builder triggers(Consumer<DatasetTrigger.Builder>... triggers)
A list of triggers. A trigger causes data set contents to be populated at a specified time interval or when
another data set's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger
objects.
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)
CreateDatasetRequest.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.CreateDatasetRequest.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.CreateDatasetRequest.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)
CreateDatasetRequest.Builder retentionPeriod(RetentionPeriod retentionPeriod)
Optional. How long, in days, versions of dataset contents are kept for the dataset. If not specified or set
to null
, versions of dataset contents are retained for at most 90 days. The number of versions
of dataset contents retained is determined by the versioningConfiguration
parameter. For more
information, see Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT Analytics User Guide.
retentionPeriod
- Optional. How long, in days, versions of dataset contents are kept for the dataset. If not specified
or set to null
, versions of dataset contents are retained for at most 90 days. The number
of versions of dataset contents retained is determined by the versioningConfiguration
parameter. For more information, see Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT Analytics User
Guide.default CreateDatasetRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Optional. How long, in days, versions of dataset contents are kept for the dataset. If not specified or set
to null
, versions of dataset contents are retained for at most 90 days. The number of versions
of dataset contents retained is determined by the versioningConfiguration
parameter. For more
information, see Keeping Multiple Versions of AWS IoT Analytics Data Sets in the AWS IoT Analytics User Guide.
RetentionPeriod.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)
CreateDatasetRequest.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 CreateDatasetRequest.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)
CreateDatasetRequest.Builder tags(Collection<Tag> tags)
Metadata which can be used to manage the data set.
tags
- Metadata which can be used to manage the data set.CreateDatasetRequest.Builder tags(Tag... tags)
Metadata which can be used to manage the data set.
tags
- Metadata which can be used to manage the data set.CreateDatasetRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the data set.
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 #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateDatasetRequest.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.CreateDatasetRequest.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.CreateDatasetRequest.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)
CreateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.