Class CfnAssetModelPropsMixin.TransformProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotsitewise.CfnAssetModelPropsMixin.TransformProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetModelPropsMixin.TransformProperty>
- Enclosing interface:
CfnAssetModelPropsMixin.TransformProperty
@Stability(Stable)
public static final class CfnAssetModelPropsMixin.TransformProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssetModelPropsMixin.TransformProperty>
A builder for
CfnAssetModelPropsMixin.TransformProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.expression(String expression) Sets the value ofCfnAssetModelPropsMixin.TransformProperty.getExpression()Sets the value ofCfnAssetModelPropsMixin.TransformProperty.getVariables()variables(IResolvable variables) Sets the value ofCfnAssetModelPropsMixin.TransformProperty.getVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
@Stability(Stable) public CfnAssetModelPropsMixin.TransformProperty.Builder expression(String expression) Sets the value ofCfnAssetModelPropsMixin.TransformProperty.getExpression()- Parameters:
expression- The mathematical expression that defines the transformation function. You can specify up to 10 variables per expression. You can specify up to 10 functions per expression.For more information, see Quotas in the AWS IoT SiteWise User Guide .
- Returns:
this
-
variables
@Stability(Stable) public CfnAssetModelPropsMixin.TransformProperty.Builder variables(IResolvable variables) Sets the value ofCfnAssetModelPropsMixin.TransformProperty.getVariables()- Parameters:
variables- The list of variables used in the expression.- Returns:
this
-
variables
@Stability(Stable) public CfnAssetModelPropsMixin.TransformProperty.Builder variables(List<? extends Object> variables) Sets the value ofCfnAssetModelPropsMixin.TransformProperty.getVariables()- Parameters:
variables- The list of variables used in the expression.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssetModelPropsMixin.TransformProperty>- Returns:
- a new instance of
CfnAssetModelPropsMixin.TransformProperty - Throws:
NullPointerException- if any required attribute was not provided
-