@Stability(value=Stable) public static final class CfnAssetModel.MetricProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAssetModel.MetricProperty>
CfnAssetModel.MetricProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAssetModel.MetricProperty |
build()
Builds the configured instance.
|
CfnAssetModel.MetricProperty.Builder |
expression(String expression)
Sets the value of
CfnAssetModel.MetricProperty.getExpression() |
CfnAssetModel.MetricProperty.Builder |
variables(IResolvable variables)
Sets the value of
CfnAssetModel.MetricProperty.getVariables() |
CfnAssetModel.MetricProperty.Builder |
variables(List<? extends Object> variables)
Sets the value of
CfnAssetModel.MetricProperty.getVariables() |
CfnAssetModel.MetricProperty.Builder |
window(CfnAssetModel.MetricWindowProperty window)
Sets the value of
CfnAssetModel.MetricProperty.getWindow() |
CfnAssetModel.MetricProperty.Builder |
window(IResolvable window)
Sets the value of
CfnAssetModel.MetricProperty.getWindow() |
@Stability(value=Stable) public CfnAssetModel.MetricProperty.Builder expression(String expression)
CfnAssetModel.MetricProperty.getExpression()expression - The mathematical expression that defines the metric aggregation 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 .
this@Stability(value=Stable) public CfnAssetModel.MetricProperty.Builder variables(IResolvable variables)
CfnAssetModel.MetricProperty.getVariables()variables - The list of variables used in the expression. This parameter is required.this@Stability(value=Stable) public CfnAssetModel.MetricProperty.Builder variables(List<? extends Object> variables)
CfnAssetModel.MetricProperty.getVariables()variables - The list of variables used in the expression. This parameter is required.this@Stability(value=Stable) public CfnAssetModel.MetricProperty.Builder window(CfnAssetModel.MetricWindowProperty window)
CfnAssetModel.MetricProperty.getWindow()window - The window (time interval) over which AWS IoT SiteWise computes the metric's aggregation expression. This parameter is required.
AWS IoT SiteWise computes one data point per window .this@Stability(value=Stable) public CfnAssetModel.MetricProperty.Builder window(IResolvable window)
CfnAssetModel.MetricProperty.getWindow()window - The window (time interval) over which AWS IoT SiteWise computes the metric's aggregation expression. This parameter is required.
AWS IoT SiteWise computes one data point per window .this@Stability(value=Stable) public CfnAssetModel.MetricProperty build()
build in interface software.amazon.jsii.Builder<CfnAssetModel.MetricProperty>CfnAssetModel.MetricPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.