Class CfnDataset.DatasetConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnDataset.DatasetConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataset.DatasetConfigProperty>
- Enclosing interface:
CfnDataset.DatasetConfigProperty
@Stability(Stable)
public static final class CfnDataset.DatasetConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataset.DatasetConfigProperty>
A builder for
CfnDataset.DatasetConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.session(IResolvable session) Sets the value ofCfnDataset.DatasetConfigProperty.getSession()session(CfnDataset.SessionConfigProperty session) Sets the value ofCfnDataset.DatasetConfigProperty.getSession()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
session
Sets the value ofCfnDataset.DatasetConfigProperty.getSession()- Parameters:
session- the value to be set.- Returns:
this
-
session
@Stability(Stable) public CfnDataset.DatasetConfigProperty.Builder session(CfnDataset.SessionConfigProperty session) Sets the value ofCfnDataset.DatasetConfigProperty.getSession()- Parameters:
session- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataset.DatasetConfigProperty>- Returns:
- a new instance of
CfnDataset.DatasetConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-