@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TumblingWindow extends Object implements Serializable, Cloneable, StructuredPojo
Contains a tumbling window, which is a repeating fixed-sized, non-overlapping, and contiguous time interval. This window is used in metric and aggregation computations.
Constructor and Description |
---|
TumblingWindow() |
Modifier and Type | Method and Description |
---|---|
TumblingWindow |
clone() |
boolean |
equals(Object obj) |
String |
getInterval()
The time interval for the tumbling window.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInterval(String interval)
The time interval for the tumbling window.
|
String |
toString()
Returns a string representation of this object.
|
TumblingWindow |
withInterval(String interval)
The time interval for the tumbling window.
|
public void setInterval(String interval)
The time interval for the tumbling window. Note that w
represents weeks, d
represents
days, h
represents hours, and m
represents minutes. 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.
interval
- The time interval for the tumbling window. Note that w
represents weeks, d
represents days, h
represents hours, and m
represents minutes. 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.
public String getInterval()
The time interval for the tumbling window. Note that w
represents weeks, d
represents
days, h
represents hours, and m
represents minutes. 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.
w
represents weeks, d
represents days, h
represents hours, and m
represents minutes. 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.
public TumblingWindow withInterval(String interval)
The time interval for the tumbling window. Note that w
represents weeks, d
represents
days, h
represents hours, and m
represents minutes. 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.
interval
- The time interval for the tumbling window. Note that w
represents weeks, d
represents days, h
represents hours, and m
represents minutes. 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.
public String toString()
toString
in class Object
Object.toString()
public TumblingWindow clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.