Class CfnAssetModelPropsMixin.ExpressionVariableProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnAssetModelPropsMixin.ExpressionVariableProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetModelPropsMixin.ExpressionVariableProperty>
- Enclosing interface:
CfnAssetModelPropsMixin.ExpressionVariableProperty
@Stability(Stable)
public static final class CfnAssetModelPropsMixin.ExpressionVariableProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssetModelPropsMixin.ExpressionVariableProperty>
A builder for
CfnAssetModelPropsMixin.ExpressionVariableProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAssetModelPropsMixin.ExpressionVariableProperty.getName()Sets the value ofCfnAssetModelPropsMixin.ExpressionVariableProperty.getValue()value(IResolvable value) Sets the value ofCfnAssetModelPropsMixin.ExpressionVariableProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
@Stability(Stable) public CfnAssetModelPropsMixin.ExpressionVariableProperty.Builder name(String name) Sets the value ofCfnAssetModelPropsMixin.ExpressionVariableProperty.getName()- Parameters:
name- The friendly name of the variable to be used in the expression.- Returns:
this
-
value
@Stability(Stable) public CfnAssetModelPropsMixin.ExpressionVariableProperty.Builder value(IResolvable value) Sets the value ofCfnAssetModelPropsMixin.ExpressionVariableProperty.getValue()- Parameters:
value- The variable that identifies an asset property from which to use values.- Returns:
this
-
value
@Stability(Stable) public CfnAssetModelPropsMixin.ExpressionVariableProperty.Builder value(CfnAssetModelPropsMixin.VariableValueProperty value) Sets the value ofCfnAssetModelPropsMixin.ExpressionVariableProperty.getValue()- Parameters:
value- The variable that identifies an asset property from which to use values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssetModelPropsMixin.ExpressionVariableProperty>- Returns:
- a new instance of
CfnAssetModelPropsMixin.ExpressionVariableProperty - Throws:
NullPointerException- if any required attribute was not provided
-