@Generated(value="software.amazon.awssdk:codegen") public final class TumblingWindow extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TumblingWindow.Builder,TumblingWindow>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
TumblingWindow.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TumblingWindow.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
interval()
The time interval for the tumbling window.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TumblingWindow.Builder> |
serializableBuilderClass() |
TumblingWindow.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TumblingWindow.Builder,TumblingWindow>public static TumblingWindow.Builder builder()
public static Class<? extends TumblingWindow.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.