Class CfnComputationModelProps.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnComputationModelProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputationModelProps>
- Enclosing interface:
CfnComputationModelProps
@Stability(Stable)
public static final class CfnComputationModelProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputationModelProps>
A builder for
CfnComputationModelProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.computationModelConfiguration(IResolvable computationModelConfiguration) Sets the value ofCfnComputationModelProps.getComputationModelConfiguration()computationModelConfiguration(CfnComputationModel.ComputationModelConfigurationProperty computationModelConfiguration) Sets the value ofCfnComputationModelProps.getComputationModelConfiguration()computationModelDataBinding(Map<String, ? extends Object> computationModelDataBinding) Sets the value ofCfnComputationModelProps.getComputationModelDataBinding()computationModelDataBinding(IResolvable computationModelDataBinding) Sets the value ofCfnComputationModelProps.getComputationModelDataBinding()computationModelDescription(String computationModelDescription) Sets the value ofCfnComputationModelProps.getComputationModelDescription()computationModelName(String computationModelName) Sets the value ofCfnComputationModelProps.getComputationModelName()Sets the value ofCfnComputationModelProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
computationModelConfiguration
@Stability(Stable) public CfnComputationModelProps.Builder computationModelConfiguration(IResolvable computationModelConfiguration) Sets the value ofCfnComputationModelProps.getComputationModelConfiguration()- Parameters:
computationModelConfiguration- The configuration for the computation model. This parameter is required.- Returns:
this
-
computationModelConfiguration
@Stability(Stable) public CfnComputationModelProps.Builder computationModelConfiguration(CfnComputationModel.ComputationModelConfigurationProperty computationModelConfiguration) Sets the value ofCfnComputationModelProps.getComputationModelConfiguration()- Parameters:
computationModelConfiguration- The configuration for the computation model. This parameter is required.- Returns:
this
-
computationModelDataBinding
@Stability(Stable) public CfnComputationModelProps.Builder computationModelDataBinding(IResolvable computationModelDataBinding) Sets the value ofCfnComputationModelProps.getComputationModelDataBinding()- Parameters:
computationModelDataBinding- The data binding for the computation model. This parameter is required. Key is a variable name defined in configuration. Value is aComputationModelDataBindingValuereferenced by the variable.- Returns:
this
-
computationModelDataBinding
@Stability(Stable) public CfnComputationModelProps.Builder computationModelDataBinding(Map<String, ? extends Object> computationModelDataBinding) Sets the value ofCfnComputationModelProps.getComputationModelDataBinding()- Parameters:
computationModelDataBinding- The data binding for the computation model. This parameter is required. Key is a variable name defined in configuration. Value is aComputationModelDataBindingValuereferenced by the variable.- Returns:
this
-
computationModelName
@Stability(Stable) public CfnComputationModelProps.Builder computationModelName(String computationModelName) Sets the value ofCfnComputationModelProps.getComputationModelName()- Parameters:
computationModelName- The name of the computation model. This parameter is required.- Returns:
this
-
computationModelDescription
@Stability(Stable) public CfnComputationModelProps.Builder computationModelDescription(String computationModelDescription) Sets the value ofCfnComputationModelProps.getComputationModelDescription()- Parameters:
computationModelDescription- The description of the computation model.- Returns:
this
-
tags
Sets the value ofCfnComputationModelProps.getTags()- Parameters:
tags- A list of key-value pairs that contain metadata for the asset. 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<CfnComputationModelProps>- Returns:
- a new instance of
CfnComputationModelProps - Throws:
NullPointerException- if any required attribute was not provided
-