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.datasetConfig(CfnDatasetPropsMixin.DatasetConfigProperty datasetConfig) Sets the value ofCfnDatasetMixinProps.getDatasetConfig()datasetConfig(IResolvable datasetConfig) Sets the value ofCfnDatasetMixinProps.getDatasetConfig()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()datasetType(String datasetType) Sets the value ofCfnDatasetMixinProps.getDatasetType()Sets the value ofCfnDatasetMixinProps.getTags()workspaceName(String workspaceName) Sets the value ofCfnDatasetMixinProps.getWorkspaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
datasetConfig
Sets the value ofCfnDatasetMixinProps.getDatasetConfig()- Parameters:
datasetConfig- the value to be set.- Returns:
this
-
datasetConfig
@Stability(Stable) public CfnDatasetMixinProps.Builder datasetConfig(CfnDatasetPropsMixin.DatasetConfigProperty datasetConfig) Sets the value ofCfnDatasetMixinProps.getDatasetConfig()- Parameters:
datasetConfig- the value to be set.- Returns:
this
-
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
-
datasetType
Sets the value ofCfnDatasetMixinProps.getDatasetType()- Parameters:
datasetType- The type of 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
-
workspaceName
Sets the value ofCfnDatasetMixinProps.getWorkspaceName()- Parameters:
workspaceName- The name of the workspace associated with the dataset.- 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
-