Interface CreateDatasetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>,IoTAnalyticsRequest.Builder,SdkBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDatasetRequest
public static interface CreateDatasetRequest.Builder extends IoTAnalyticsRequest.Builder, SdkPojo, CopyableBuilder<CreateDatasetRequest.Builder,CreateDatasetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDatasetRequest.Builderactions(Collection<DatasetAction> actions)A list of actions that create the dataset contents.CreateDatasetRequest.Builderactions(Consumer<DatasetAction.Builder>... actions)A list of actions that create the dataset contents.CreateDatasetRequest.Builderactions(DatasetAction... actions)A list of actions that create the dataset contents.CreateDatasetRequest.BuildercontentDeliveryRules(Collection<DatasetContentDeliveryRule> contentDeliveryRules)When dataset contents are created, they are delivered to destinations specified here.CreateDatasetRequest.BuildercontentDeliveryRules(Consumer<DatasetContentDeliveryRule.Builder>... contentDeliveryRules)When dataset contents are created, they are delivered to destinations specified here.CreateDatasetRequest.BuildercontentDeliveryRules(DatasetContentDeliveryRule... contentDeliveryRules)When dataset contents are created, they are delivered to destinations specified here.CreateDatasetRequest.BuilderdatasetName(String datasetName)The name of the dataset.CreateDatasetRequest.BuilderlateDataRules(Collection<LateDataRule> lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.CreateDatasetRequest.BuilderlateDataRules(Consumer<LateDataRule.Builder>... lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.CreateDatasetRequest.BuilderlateDataRules(LateDataRule... lateDataRules)A list of data rules that send notifications to CloudWatch, when data arrives late.CreateDatasetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDatasetRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateDatasetRequest.BuilderretentionPeriod(Consumer<RetentionPeriod.Builder> retentionPeriod)Optional.CreateDatasetRequest.BuilderretentionPeriod(RetentionPeriod retentionPeriod)Optional.CreateDatasetRequest.Buildertags(Collection<Tag> tags)Metadata which can be used to manage the dataset.CreateDatasetRequest.Buildertags(Consumer<Tag.Builder>... tags)Metadata which can be used to manage the dataset.CreateDatasetRequest.Buildertags(Tag... tags)Metadata which can be used to manage the dataset.CreateDatasetRequest.Buildertriggers(Collection<DatasetTrigger> triggers)A list of triggers.CreateDatasetRequest.Buildertriggers(Consumer<DatasetTrigger.Builder>... triggers)A list of triggers.CreateDatasetRequest.Buildertriggers(DatasetTrigger... triggers)A list of triggers.default CreateDatasetRequest.BuilderversioningConfiguration(Consumer<VersioningConfiguration.Builder> versioningConfiguration)Optional.CreateDatasetRequest.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
CreateDatasetRequest.Builder datasetName(String 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
CreateDatasetRequest.Builder actions(Collection<DatasetAction> 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
CreateDatasetRequest.Builder actions(DatasetAction... 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
CreateDatasetRequest.Builder actions(Consumer<DatasetAction.Builder>... actions)
A list of actions that create the dataset contents.
This is a convenience method that creates an instance of theDatasetAction.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
CreateDatasetRequest.Builder triggers(Collection<DatasetTrigger> 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
DataSetTriggerobjects.- 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 fiveDataSetTriggerobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
CreateDatasetRequest.Builder triggers(DatasetTrigger... 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
DataSetTriggerobjects.- 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 fiveDataSetTriggerobjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
CreateDatasetRequest.Builder triggers(Consumer<DatasetTrigger.Builder>... 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 theDataSetTriggerobjects.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
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.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
CreateDatasetRequest.Builder retentionPeriod(RetentionPeriod 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 theversioningConfigurationparameter. 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 theversioningConfigurationparameter. 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 theversioningConfigurationparameter. For more information, see Keeping Multiple Versions of IoT Analytics datasets in the IoT Analytics User Guide.RetentionPeriod.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
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
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 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 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)
-
tags
CreateDatasetRequest.Builder tags(Collection<Tag> 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
CreateDatasetRequest.Builder tags(Tag... 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
CreateDatasetRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata which can be used to manage the dataset.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
lateDataRules
CreateDatasetRequest.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
CreateDatasetRequest.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
CreateDatasetRequest.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
CreateDatasetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDatasetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-