Class CfnDatasetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnDatasetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDatasetMixinProps>
- Enclosing interface:
CfnDatasetMixinProps
@Stability(Stable)
public static final class CfnDatasetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDatasetMixinProps>
A builder for
CfnDatasetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.datasetDescription(String datasetDescription) Sets the value ofCfnDatasetMixinProps.getDatasetDescription()datasetName(String datasetName) Sets the value ofCfnDatasetMixinProps.getDatasetName()datasetSource(CfnDatasetPropsMixin.DatasetSourceProperty datasetSource) Sets the value ofCfnDatasetMixinProps.getDatasetSource()datasetSource(IResolvable datasetSource) Sets the value ofCfnDatasetMixinProps.getDatasetSource()Sets the value ofCfnDatasetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetDescription
@Stability(Stable) public CfnDatasetMixinProps.Builder datasetDescription(String datasetDescription) Sets the value ofCfnDatasetMixinProps.getDatasetDescription()- Parameters:
datasetDescription- A description about the dataset, and its functionality.- Returns:
this
-
datasetName
Sets the value ofCfnDatasetMixinProps.getDatasetName()- Parameters:
datasetName- The name of the dataset.- Returns:
this
-
datasetSource
Sets the value ofCfnDatasetMixinProps.getDatasetSource()- Parameters:
datasetSource- The data source for the dataset.- Returns:
this
-
datasetSource
@Stability(Stable) public CfnDatasetMixinProps.Builder datasetSource(CfnDatasetPropsMixin.DatasetSourceProperty datasetSource) Sets the value ofCfnDatasetMixinProps.getDatasetSource()- Parameters:
datasetSource- The data source for the dataset.- Returns:
this
-
tags
Sets the value ofCfnDatasetMixinProps.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<CfnDatasetMixinProps>- Returns:
- a new instance of
CfnDatasetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-