Interface UpdateDatasetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDatasetRequest.Builder,,UpdateDatasetRequest> IoTAnalyticsRequest.Builder,SdkBuilder<UpdateDatasetRequest.Builder,,UpdateDatasetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDatasetRequest
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<DatasetAction> actions) A list ofDatasetActionobjects.actions(Consumer<DatasetAction.Builder>... actions) A list ofDatasetActionobjects.actions(DatasetAction... actions) A list ofDatasetActionobjects.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 to update.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 UpdateDatasetRequest.BuilderretentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod) How long, in days, dataset contents are kept for the dataset.retentionPeriod(RetentionPeriod retentionPeriod) How long, in days, dataset contents are kept for the dataset.triggers(Collection<DatasetTrigger> triggers) A list ofDatasetTriggerobjects.triggers(Consumer<DatasetTrigger.Builder>... triggers) A list ofDatasetTriggerobjects.triggers(DatasetTrigger... triggers) A list ofDatasetTriggerobjects.default UpdateDatasetRequest.BuilderversioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration) Optional.versioningConfiguration(VersioningConfiguration versioningConfiguration) Optional.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotanalytics.model.IoTAnalyticsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
datasetName
The name of the dataset to update.
- Parameters:
datasetName- The name of the dataset to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of
DatasetActionobjects.- Parameters:
actions- A list ofDatasetActionobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of
DatasetActionobjects.- Parameters:
actions- A list ofDatasetActionobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
A list of
This is a convenience method that creates an instance of theDatasetActionobjects.DatasetAction.Builderavoiding the need to create one manually viaDatasetAction.builder().When the
Consumercompletes,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
DatasetTriggerobjects. The list can be empty or can contain up to fiveDatasetTriggerobjects.- Parameters:
triggers- A list ofDatasetTriggerobjects. The list can be empty or can contain up to fiveDatasetTriggerobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
A list of
DatasetTriggerobjects. The list can be empty or can contain up to fiveDatasetTriggerobjects.- Parameters:
triggers- A list ofDatasetTriggerobjects. The list can be empty or can contain up to fiveDatasetTriggerobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
A list of
This is a convenience method that creates an instance of theDatasetTriggerobjects. The list can be empty or can contain up to fiveDatasetTriggerobjects.DatasetTrigger.Builderavoiding the need to create one manually viaDatasetTrigger.builder().When the
Consumercompletes,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
UpdateDatasetRequest.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
UpdateDatasetRequest.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
UpdateDatasetRequest.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.Builderavoiding the need to create one manually viaDatasetContentDeliveryRule.builder().When the
Consumercompletes,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
How long, in days, dataset contents are kept for the dataset.
- Parameters:
retentionPeriod- How long, in days, dataset contents are kept for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default UpdateDatasetRequest.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod) How long, in days, dataset contents are kept for the dataset.
This is a convenience method that creates an instance of theRetentionPeriod.Builderavoiding the need to create one manually viaRetentionPeriod.builder().When the
Consumercompletes,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
UpdateDatasetRequest.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
retentionPeriodparameter. 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 theretentionPeriodparameter. 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 UpdateDatasetRequest.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 theretentionPeriodparameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.VersioningConfiguration.Builderavoiding the need to create one manually viaVersioningConfiguration.builder().When the
Consumercompletes,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:
-
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.Builderavoiding the need to create one manually viaLateDataRule.builder().When the
Consumercompletes,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
UpdateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-