Interface DataSetReference.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DataSetReference.Builder,,DataSetReference> SdkBuilder<DataSetReference.Builder,,DataSetReference> SdkPojo
- Enclosing class:
DataSetReference
public static interface DataSetReference.Builder
extends SdkPojo, CopyableBuilder<DataSetReference.Builder,DataSetReference>
-
Method Summary
Modifier and TypeMethodDescriptiondatasetArn(String datasetArn) The ARN of the dataset.default DataSetReference.Buildersource(Consumer<Source.Builder> source) The data source for the dataset.The data source for the dataset.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
datasetArn
The ARN of the dataset. The format is
arn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.- Parameters:
datasetArn- The ARN of the dataset. The format isarn:${Partition}:iotsitewise:${Region}:${Account}:dataset/${DatasetId}.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The data source for the dataset.
- Parameters:
source- The data source for the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
The data source for the dataset.
This is a convenience method that creates an instance of theSource.Builderavoiding the need to create one manually viaSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(Source).- Parameters:
source- a consumer that will call methods onSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-