Class CfnDatasetProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnDatasetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetProps>
- Enclosing interface:
CfnDatasetProps
@Stability(Stable)
public static final class CfnDatasetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetProps>
A builder for
CfnDatasetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetDescription(String datasetDescription) Sets the value ofCfnDatasetProps.getDatasetDescription()datasetName(String datasetName) Sets the value ofCfnDatasetProps.getDatasetName()datasetSource(IResolvable datasetSource) Sets the value ofCfnDatasetProps.getDatasetSource()datasetSource(CfnDataset.DatasetSourceProperty datasetSource) Sets the value ofCfnDatasetProps.getDatasetSource()Sets the value ofCfnDatasetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetName
Sets the value ofCfnDatasetProps.getDatasetName()- Parameters:
datasetName- The name of the dataset. This parameter is required.- Returns:
this
-
datasetSource
Sets the value ofCfnDatasetProps.getDatasetSource()- Parameters:
datasetSource- The data source for the dataset. This parameter is required.- Returns:
this
-
datasetSource
@Stability(Stable) public CfnDatasetProps.Builder datasetSource(CfnDataset.DatasetSourceProperty datasetSource) Sets the value ofCfnDatasetProps.getDatasetSource()- Parameters:
datasetSource- The data source for the dataset. This parameter is required.- Returns:
this
-
datasetDescription
Sets the value ofCfnDatasetProps.getDatasetDescription()- Parameters:
datasetDescription- A description about the dataset, and its functionality.- Returns:
this
-
tags
Sets the value ofCfnDatasetProps.getTags()- Parameters:
tags- A list of key-value pairs that contain metadata for the access policy. For more information, see Tagging your AWS IoT SiteWise resources in the AWS IoT SiteWise User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDatasetProps>- Returns:
- a new instance of
CfnDatasetProps - Throws:
NullPointerException- if any required attribute was not provided
-