Class CfnAssetModel.TransformProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotsitewise.CfnAssetModel.TransformProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssetModel.TransformProperty>
- Enclosing interface:
CfnAssetModel.TransformProperty
@Stability(Stable)
public static final class CfnAssetModel.TransformProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssetModel.TransformProperty>
A builder for
CfnAssetModel.TransformProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.expression
(String expression) Sets the value ofCfnAssetModel.TransformProperty.getExpression()
Sets the value ofCfnAssetModel.TransformProperty.getVariables()
variables
(IResolvable variables) Sets the value ofCfnAssetModel.TransformProperty.getVariables()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
expression
Sets the value ofCfnAssetModel.TransformProperty.getExpression()
- Parameters:
expression
- The mathematical expression that defines the transformation function. This parameter is required. 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
Sets the value ofCfnAssetModel.TransformProperty.getVariables()
- Parameters:
variables
- The list of variables used in the expression. This parameter is required.- Returns:
this
-
variables
@Stability(Stable) public CfnAssetModel.TransformProperty.Builder variables(List<? extends Object> variables) Sets the value ofCfnAssetModel.TransformProperty.getVariables()
- Parameters:
variables
- The list of variables used in the expression. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAssetModel.TransformProperty>
- Returns:
- a new instance of
CfnAssetModel.TransformProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-