Interface Dataset.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Dataset.Builder,Dataset>,SdkBuilder<Dataset.Builder,Dataset>,SdkPojo
- Enclosing class:
- Dataset
public static interface Dataset.Builder extends SdkPojo, CopyableBuilder<Dataset.Builder,Dataset>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Dataset.Builderactions(Collection<DatasetAction> actions)TheDatasetActionobjects that automatically create the dataset contents.Dataset.Builderactions(Consumer<DatasetAction.Builder>... actions)TheDatasetActionobjects that automatically create the dataset contents.Dataset.Builderactions(DatasetAction... actions)TheDatasetActionobjects that automatically create the dataset contents.Dataset.Builderarn(String arn)The ARN of the dataset.Dataset.BuildercontentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)When dataset contents are created they are delivered to destinations specified here.Dataset.BuildercontentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)When dataset contents are created they are delivered to destinations specified here.Dataset.BuildercontentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)When dataset contents are created they are delivered to destinations specified here.Dataset.BuildercreationTime(Instant creationTime)When the dataset was created.Dataset.BuilderlastUpdateTime(Instant lastUpdateTime)The last time the dataset was updated.Dataset.BuilderlateDataRules(Collection<LateDataRule> lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.Dataset.BuilderlateDataRules(Consumer<LateDataRule.Builder>... lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.Dataset.BuilderlateDataRules(LateDataRule... lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.Dataset.Buildername(String name)The name of the dataset.default Dataset.BuilderretentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)Optional.Dataset.BuilderretentionPeriod(RetentionPeriod retentionPeriod)Optional.Dataset.Builderstatus(String status)The status of the dataset.Dataset.Builderstatus(DatasetStatus status)The status of the dataset.Dataset.Buildertriggers(Collection<DatasetTrigger> triggers)TheDatasetTriggerobjects that specify when the dataset is automatically updated.Dataset.Buildertriggers(Consumer<DatasetTrigger.Builder>... triggers)TheDatasetTriggerobjects that specify when the dataset is automatically updated.Dataset.Buildertriggers(DatasetTrigger... triggers)TheDatasetTriggerobjects that specify when the dataset is automatically updated.default Dataset.BuilderversioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration)Optional.Dataset.BuilderversioningConfiguration(VersioningConfiguration versioningConfiguration)Optional.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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
-
name
Dataset.Builder name(String name)
The name of the dataset.
- Parameters:
name- The name of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Dataset.Builder arn(String arn)
The ARN of the dataset.
- Parameters:
arn- The ARN of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Dataset.Builder actions(Collection<DatasetAction> actions)
The
DatasetActionobjects that automatically create the dataset contents.- Parameters:
actions- TheDatasetActionobjects that automatically create the dataset contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Dataset.Builder actions(DatasetAction... actions)
The
DatasetActionobjects that automatically create the dataset contents.- Parameters:
actions- TheDatasetActionobjects that automatically create the dataset contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actions
Dataset.Builder actions(Consumer<DatasetAction.Builder>... actions)
The
This is a convenience method that creates an instance of theDatasetActionobjects that automatically create the dataset contents.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
Dataset.Builder triggers(Collection<DatasetTrigger> triggers)
The
DatasetTriggerobjects that specify when the dataset is automatically updated.- Parameters:
triggers- TheDatasetTriggerobjects that specify when the dataset is automatically updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
Dataset.Builder triggers(DatasetTrigger... triggers)
The
DatasetTriggerobjects that specify when the dataset is automatically updated.- Parameters:
triggers- TheDatasetTriggerobjects that specify when the dataset is automatically updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
Dataset.Builder triggers(Consumer<DatasetTrigger.Builder>... triggers)
The
This is a convenience method that creates an instance of theDatasetTriggerobjects that specify when the dataset is automatically updated.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
Dataset.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
Dataset.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
Dataset.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)
-
status
Dataset.Builder status(String status)
The status of the dataset.
- Parameters:
status- The status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DatasetStatus,DatasetStatus
-
status
Dataset.Builder status(DatasetStatus status)
The status of the dataset.
- Parameters:
status- The status of the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DatasetStatus,DatasetStatus
-
creationTime
Dataset.Builder creationTime(Instant creationTime)
When the dataset was created.
- Parameters:
creationTime- When the dataset was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdateTime
Dataset.Builder lastUpdateTime(Instant lastUpdateTime)
The last time the dataset was updated.
- Parameters:
lastUpdateTime- The last time the dataset was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
Dataset.Builder retentionPeriod(RetentionPeriod retentionPeriod)
Optional. How long, in days, message data is kept for the dataset.
- Parameters:
retentionPeriod- Optional. How long, in days, message data is kept for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retentionPeriod
default Dataset.Builder retentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)
Optional. How long, in days, message data is 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
Dataset.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 Dataset.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
Dataset.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
Dataset.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
Dataset.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)
-
-