@Stability(value=Stable) public static final class CfnAssetModel.TumblingWindowProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnAssetModel.TumblingWindowProperty>
CfnAssetModel.TumblingWindowProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnAssetModel.TumblingWindowProperty |
build()
Builds the configured instance.
|
CfnAssetModel.TumblingWindowProperty.Builder |
interval(String interval)
Sets the value of
CfnAssetModel.TumblingWindowProperty.getInterval() |
CfnAssetModel.TumblingWindowProperty.Builder |
offset(String offset)
Sets the value of
CfnAssetModel.TumblingWindowProperty.getOffset() |
@Stability(value=Stable) public CfnAssetModel.TumblingWindowProperty.Builder interval(String interval)
CfnAssetModel.TumblingWindowProperty.getInterval()interval - The time interval for the tumbling window. The interval time must be between 1 minute and 1 week. This parameter is required.
AWS IoT SiteWise computes the 1w interval the end of Sunday at midnight each week (UTC), the 1d interval at the end of each day at midnight (UTC), the 1h interval at the end of each hour, and so on.
When AWS IoT SiteWise aggregates data points for metric computations, the start of each interval is exclusive and the end of each interval is inclusive. AWS IoT SiteWise places the computed data point at the end of the interval.
this@Stability(value=Stable) public CfnAssetModel.TumblingWindowProperty.Builder offset(String offset)
CfnAssetModel.TumblingWindowProperty.getOffset()offset - `CfnAssetModel.TumblingWindowProperty.Offset`.this@Stability(value=Stable) public CfnAssetModel.TumblingWindowProperty build()
build in interface software.amazon.jsii.Builder<CfnAssetModel.TumblingWindowProperty>CfnAssetModel.TumblingWindowPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.