Interface CreateDatasetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDatasetRequest.Builder,
,CreateDatasetRequest> IoTAnalyticsRequest.Builder
,SdkBuilder<CreateDatasetRequest.Builder,
,CreateDatasetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDatasetRequest
-
Method Summary
Modifier and TypeMethodDescriptionactions
(Collection<DatasetAction> actions) A list of actions that create the dataset contents.actions
(Consumer<DatasetAction.Builder>... actions) A list of actions that create the dataset contents.actions
(DatasetAction... actions) A list of actions that create the dataset contents.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.datasetName
(String datasetName) The name of the dataset.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.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateDatasetRequest.Builder
retentionPeriod
(Consumer<RetentionPeriod.Builder> retentionPeriod) Optional.retentionPeriod
(RetentionPeriod retentionPeriod) Optional.tags
(Collection<Tag> tags) Metadata which can be used to manage the dataset.tags
(Consumer<Tag.Builder>... tags) Metadata which can be used to manage the dataset.Metadata which can be used to manage the dataset.triggers
(Collection<DatasetTrigger> triggers) A list of triggers.triggers
(Consumer<DatasetTrigger.Builder>... triggers) A list of triggers.triggers
(DatasetTrigger... triggers) A list of triggers.default CreateDatasetRequest.Builder
versioningConfiguration
(Consumer<VersioningConfiguration.Builder> versioningConfiguration) Optional.versioningConfiguration
(VersioningConfiguration versioningConfiguration) Optional.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
datasetName
The name of the dataset.
- Parameters:
datasetName
- The name of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of actions that create the dataset contents.
- Parameters:
actions
- A list of actions that create the dataset contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of actions that create the dataset contents.
- Parameters:
actions
- A list of actions that create the dataset contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of actions that create the dataset contents.
This is a convenience method that creates an instance of theDatasetAction.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
A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger
objects.- Parameters:
triggers
- A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to fiveDataSetTrigger
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to five
DataSetTrigger
objects.- Parameters:
triggers
- A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to fiveDataSetTrigger
objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
A list of triggers. A trigger causes dataset contents to be populated at a specified time interval or when another dataset's contents are created. The list of triggers can be empty or contain up to five
This is a convenience method that creates an instance of theDataSetTrigger
objects.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
CreateDatasetRequest.Builder contentDeliveryRules(Collection<DatasetContentDeliveryRule> 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
CreateDatasetRequest.Builder contentDeliveryRules(DatasetContentDeliveryRule... 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
CreateDatasetRequest.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:
-
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 theversioningConfiguration
parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.- Parameters:
retentionPeriod
- Optional. How long, in days, versions of dataset contents are kept for the dataset. If not specified or set tonull
, versions of dataset contents are retained for at most 90 days. The number of versions of dataset contents retained is determined by theversioningConfiguration
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.
-
retentionPeriod
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
This is a convenience method that creates an instance of thenull
, versions of dataset contents are retained for at most 90 days. The number of versions of dataset contents retained is determined by theversioningConfiguration
parameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.RetentionPeriod.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
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 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 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
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:
-
tags
Metadata which can be used to manage the dataset.
- Parameters:
tags
- Metadata which can be used to manage the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the dataset.
- Parameters:
tags
- Metadata which can be used to manage the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata which can be used to manage the dataset.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.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:
-
overrideConfiguration
CreateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-