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 value to be set. This parameter is required.- Returns:
this
-
computationModelConfiguration
@Stability(Stable) public CfnComputationModelProps.Builder computationModelConfiguration(CfnComputationModel.ComputationModelConfigurationProperty computationModelConfiguration) Sets the value ofCfnComputationModelProps.getComputationModelConfiguration()
- Parameters:
computationModelConfiguration
- the value to be set. This parameter is required.- Returns:
this
-
computationModelDataBinding
@Stability(Stable) public CfnComputationModelProps.Builder computationModelDataBinding(IResolvable computationModelDataBinding) Sets the value ofCfnComputationModelProps.getComputationModelDataBinding()
- Parameters:
computationModelDataBinding
- the value to be set. This parameter is required.- Returns:
this
-
computationModelDataBinding
@Stability(Stable) public CfnComputationModelProps.Builder computationModelDataBinding(Map<String, ? extends Object> computationModelDataBinding) Sets the value ofCfnComputationModelProps.getComputationModelDataBinding()
- Parameters:
computationModelDataBinding
- the value to be set. This parameter is required.- 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
- A description about the computation model.- Returns:
this
-
tags
Sets the value ofCfnComputationModelProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnComputationModelProps>
- Returns:
- a new instance of
CfnComputationModelProps
- Throws:
NullPointerException
- if any required attribute was not provided
-