Class CfnDataset.DatasetSourceProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnDataset.DatasetSourceProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.DatasetSourceProperty>
- Enclosing interface:
CfnDataset.DatasetSourceProperty
@Stability(Stable)
public static final class CfnDataset.DatasetSourceProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.DatasetSourceProperty>
A builder for
CfnDataset.DatasetSourceProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.sourceDetail(IResolvable sourceDetail) Sets the value ofCfnDataset.DatasetSourceProperty.getSourceDetail()sourceDetail(CfnDataset.SourceDetailProperty sourceDetail) Sets the value ofCfnDataset.DatasetSourceProperty.getSourceDetail()sourceFormat(String sourceFormat) Sets the value ofCfnDataset.DatasetSourceProperty.getSourceFormat()sourceType(String sourceType) Sets the value ofCfnDataset.DatasetSourceProperty.getSourceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
sourceFormat
@Stability(Stable) public CfnDataset.DatasetSourceProperty.Builder sourceFormat(String sourceFormat) Sets the value ofCfnDataset.DatasetSourceProperty.getSourceFormat()- Parameters:
sourceFormat- The format of the dataset source associated with the dataset. This parameter is required.- Returns:
this
-
sourceType
Sets the value ofCfnDataset.DatasetSourceProperty.getSourceType()- Parameters:
sourceType- The type of data source for the dataset. This parameter is required.- Returns:
this
-
sourceDetail
@Stability(Stable) public CfnDataset.DatasetSourceProperty.Builder sourceDetail(IResolvable sourceDetail) Sets the value ofCfnDataset.DatasetSourceProperty.getSourceDetail()- Parameters:
sourceDetail- The details of the dataset source associated with the dataset.- Returns:
this
-
sourceDetail
@Stability(Stable) public CfnDataset.DatasetSourceProperty.Builder sourceDetail(CfnDataset.SourceDetailProperty sourceDetail) Sets the value ofCfnDataset.DatasetSourceProperty.getSourceDetail()- Parameters:
sourceDetail- The details of the dataset source associated with the dataset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.DatasetSourceProperty>- Returns:
- a new instance of
CfnDataset.DatasetSourceProperty - Throws:
NullPointerException- if any required attribute was not provided
-