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)
Sets the value of the ContentDeliveryRules property for this object.
|
CreateDatasetRequest.Builder |
contentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)
Sets the value of the ContentDeliveryRules property for this object.
|
CreateDatasetRequest.Builder |
contentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
Sets the value of the ContentDeliveryRules property for this object.
|
CreateDatasetRequest.Builder |
datasetName(String datasetName)
The name of the data set.
|
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] How long, in days, message data is kept for the data set.
|
CreateDatasetRequest.Builder |
retentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, message data is kept for the data set.
|
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.
|
build
overrideConfiguration
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.
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 #triggers(List)
.triggers
- a consumer that will call methods on List.Builder
#triggers(List)
CreateDatasetRequest.Builder contentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)
contentDeliveryRules
- The new value for the ContentDeliveryRules property for this object.CreateDatasetRequest.Builder contentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)
contentDeliveryRules
- The new value for the ContentDeliveryRules property for this object.CreateDatasetRequest.Builder contentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)
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 #contentDeliveryRules(List)
.contentDeliveryRules
- a consumer that will call methods on List.Builder
#contentDeliveryRules(List)
CreateDatasetRequest.Builder retentionPeriod(RetentionPeriod retentionPeriod)
[Optional] How long, in days, message data is kept for the data set. If not given or set to null, the latest version of the dataset content plus the latest succeeded version (if they are different) are retained for at most 90 days.
retentionPeriod
- [Optional] How long, in days, message data is kept for the data set. If not given or set to null, the
latest version of the dataset content plus the latest succeeded version (if they are different) are
retained for at most 90 days.default CreateDatasetRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
[Optional] How long, in days, message data is kept for the data set. If not given or set to null, the latest version of the dataset content plus the latest succeeded version (if they are different) are retained for at most 90 days.
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)
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 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.