Class DatasetReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.iotsitewise.DatasetReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatasetReference>
- Enclosing interface:
DatasetReference
@Stability(Stable)
public static final class DatasetReference.Builder
extends Object
implements software.amazon.jsii.Builder<DatasetReference>
A builder for
DatasetReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetArn(String datasetArn) Sets the value ofDatasetReference.getDatasetArn()Sets the value ofDatasetReference.getDatasetId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetArn
Sets the value ofDatasetReference.getDatasetArn()- Parameters:
datasetArn- The ARN of the Dataset resource. This parameter is required.- Returns:
this
-
datasetId
Sets the value ofDatasetReference.getDatasetId()- Parameters:
datasetId- The DatasetId of the Dataset resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatasetReference>- Returns:
- a new instance of
DatasetReference - Throws:
NullPointerException- if any required attribute was not provided
-