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