Class CfnAssetModel.TumblingWindowProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnAssetModel.TumblingWindowProperty
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- CfnAssetModel.TumblingWindowProperty
CfnAssetModel.TumblingWindowProperty
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.iotsitewise.CfnAssetModel.TumblingWindowProperty
CfnAssetModel.TumblingWindowProperty.Builder, CfnAssetModel.TumblingWindowProperty.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor that initializes the object based on literal property values passed by theCfnAssetModel.TumblingWindowProperty.Builder
.protected
Jsii$Proxy
(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef
- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnAssetModel.TumblingWindowProperty.Builder
.
-
-
Method Details
-
getInterval
Description copied from interface:CfnAssetModel.TumblingWindowProperty
The time interval for the tumbling window. The interval time must be between 1 minute and 1 week.AWS IoT SiteWise computes the
1w
interval the end of Sunday at midnight each week (UTC), the1d
interval at the end of each day at midnight (UTC), the1h
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.
- Specified by:
getInterval
in interfaceCfnAssetModel.TumblingWindowProperty
-
getOffset
Description copied from interface:CfnAssetModel.TumblingWindowProperty
The offset for the tumbling window. Theoffset
parameter accepts the following:.- The offset time.
For example, if you specify
18h
foroffset
and1d
forinterval
, AWS IoT SiteWise aggregates data in one of the following ways:- If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric.
- If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day.
- The ISO 8601 format.
For example, if you specify
PT18H
foroffset
and1d
forinterval
, AWS IoT SiteWise aggregates data in one of the following ways:- If you create the metric before or at 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) on the day when you create the metric.
- If you create the metric after 6 PM (UTC), you get the first aggregation result at 6 PM (UTC) the next day.
- The 24-hour clock.
For example, if you specify
00:03:00
foroffset
,5m
forinterval
, and you create the metric at 2 PM (UTC), you get the first aggregation result at 2:03 PM (UTC). You get the second aggregation result at 2:08 PM (UTC).- The offset time zone.
For example, if you specify
2021-07-23T18:00-08
foroffset
and1d
forinterval
, AWS IoT SiteWise aggregates data in one of the following ways:- If you create the metric before or at 6 PM (PST), you get the first aggregation result at 6 PM (PST) on the day when you create the metric.
- If you create the metric after 6 PM (PST), you get the first aggregation result at 6 PM (PST) the next day.
- Specified by:
getOffset
in interfaceCfnAssetModel.TumblingWindowProperty
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-