Interface UpdateDatasetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDatasetRequest.Builder,UpdateDatasetRequest>,IoTAnalyticsRequest.Builder,SdkBuilder<UpdateDatasetRequest.Builder,UpdateDatasetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateDatasetRequest
public static interface UpdateDatasetRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<UpdateDatasetRequest.Builder,UpdateDatasetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDatasetRequest.Builderactions(Collection<DatasetAction> actions)A list ofDatasetActionobjects.UpdateDatasetRequest.Builderactions(Consumer<DatasetAction.Builder>... actions)A list ofDatasetActionobjects.UpdateDatasetRequest.Builderactions(DatasetAction... actions)A list ofDatasetActionobjects.UpdateDatasetRequest.BuildercontentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)When dataset contents are created, they are delivered to destinations specified here.UpdateDatasetRequest.BuildercontentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)When dataset contents are created, they are delivered to destinations specified here.UpdateDatasetRequest.BuildercontentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)When dataset contents are created, they are delivered to destinations specified here.UpdateDatasetRequest.BuilderdatasetName(String datasetName)The name of the dataset to update.UpdateDatasetRequest.BuilderlateDataRules(Collection<LateDataRule> lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.UpdateDatasetRequest.BuilderlateDataRules(Consumer<LateDataRule.Builder>... lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.UpdateDatasetRequest.BuilderlateDataRules(LateDataRule... lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.UpdateDatasetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateDatasetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateDatasetRequest.BuilderretentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)How long, in days, dataset contents are kept for the dataset.UpdateDatasetRequest.BuilderretentionPeriod(RetentionPeriod retentionPeriod)How long, in days, dataset contents are kept for the dataset.UpdateDatasetRequest.Buildertriggers(Collection<DatasetTrigger> triggers)A list ofDatasetTriggerobjects.UpdateDatasetRequest.Buildertriggers(Consumer<DatasetTrigger.Builder>... triggers)A list ofDatasetTriggerobjects.UpdateDatasetRequest.Buildertriggers(DatasetTrigger... triggers)A list ofDatasetTriggerobjects.default UpdateDatasetRequest.BuilderversioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration)Optional.UpdateDatasetRequest.BuilderversioningConfiguration(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
datasetName
UpdateDatasetRequest.Builder datasetName(String 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
UpdateDatasetRequest.Builder actions(Collection<DatasetAction> 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
UpdateDatasetRequest.Builder actions(DatasetAction... 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
UpdateDatasetRequest.Builder actions(Consumer<DatasetAction.Builder>... 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 to#actions(List.) - 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:
#actions(java.util.Collection)
-
triggers
UpdateDatasetRequest.Builder triggers(Collection<DatasetTrigger> 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
UpdateDatasetRequest.Builder triggers(DatasetTrigger... 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
UpdateDatasetRequest.Builder triggers(Consumer<DatasetTrigger.Builder>... 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 to#triggers(List.) - 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:
#triggers(java.util.Collection)
-
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 to#contentDeliveryRules(List.) - 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:
#contentDeliveryRules(java.util.Collection)
-
retentionPeriod
UpdateDatasetRequest.Builder retentionPeriod(RetentionPeriod 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:
retentionPeriod(RetentionPeriod)
-
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:
versioningConfiguration(VersioningConfiguration)
-
lateDataRules
UpdateDatasetRequest.Builder lateDataRules(Collection<LateDataRule> 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
UpdateDatasetRequest.Builder lateDataRules(LateDataRule... 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
UpdateDatasetRequest.Builder lateDataRules(Consumer<LateDataRule.Builder>... 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 to#lateDataRules(List.) - 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:
#lateDataRules(java.util.Collection)
-
overrideConfiguration
UpdateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-