@Generated(value="software.amazon.awssdk:codegen") public final class IntervalDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IntervalDetails.Builder,IntervalDetails>
Information about the interval period to use for returning results.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IntervalDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IntervalDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IntervalPeriod |
intervalPeriod()
IntervalPeriod: An aggregated grouping applied to request metrics. |
String |
intervalPeriodAsString()
IntervalPeriod: An aggregated grouping applied to request metrics. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends IntervalDetails.Builder> |
serializableBuilderClass() |
String |
timeZone()
The timezone applied to requested metrics.
|
IntervalDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String timeZone()
The timezone applied to requested metrics.
public final IntervalPeriod intervalPeriod()
IntervalPeriod: An aggregated grouping applied to request metrics. Valid IntervalPeriod
values are: FIFTEEN_MIN | THIRTY_MIN | HOUR | DAY |
WEEK | TOTAL.
For example, if IntervalPeriod is selected THIRTY_MIN, StartTime and
EndTime differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is
aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the TOTAL
interval period.
The following list describes restrictions on StartTime and EndTime based on what
IntervalPeriod is requested.
FIFTEEN_MIN: The difference between StartTime and EndTime must be less
than 3 days.
THIRTY_MIN: The difference between StartTime and EndTime must be less than
3 days.
HOUR: The difference between StartTime and EndTime must be less than 3
days.
DAY: The difference between StartTime and EndTime must be less than 35
days.
WEEK: The difference between StartTime and EndTime must be less than 35
days.
TOTAL: The difference between StartTime and EndTime must be less than 35
days.
If the service returns an enum value that is not available in the current SDK version, intervalPeriod
will return IntervalPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from intervalPeriodAsString().
IntervalPeriod: An aggregated grouping applied to request metrics. Valid
IntervalPeriod values are: FIFTEEN_MIN | THIRTY_MIN |
HOUR | DAY | WEEK | TOTAL.
For example, if IntervalPeriod is selected THIRTY_MIN, StartTime
and EndTime differs by 1 day, then Amazon Connect returns 48 results in the response. Each
result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the
TOTAL interval period.
The following list describes restrictions on StartTime and EndTime based on
what IntervalPeriod is requested.
FIFTEEN_MIN: The difference between StartTime and EndTime must be
less than 3 days.
THIRTY_MIN: The difference between StartTime and EndTime must be
less than 3 days.
HOUR: The difference between StartTime and EndTime must be less
than 3 days.
DAY: The difference between StartTime and EndTime must be less
than 35 days.
WEEK: The difference between StartTime and EndTime must be less
than 35 days.
TOTAL: The difference between StartTime and EndTime must be less
than 35 days.
IntervalPeriodpublic final String intervalPeriodAsString()
IntervalPeriod: An aggregated grouping applied to request metrics. Valid IntervalPeriod
values are: FIFTEEN_MIN | THIRTY_MIN | HOUR | DAY |
WEEK | TOTAL.
For example, if IntervalPeriod is selected THIRTY_MIN, StartTime and
EndTime differs by 1 day, then Amazon Connect returns 48 results in the response. Each result is
aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the TOTAL
interval period.
The following list describes restrictions on StartTime and EndTime based on what
IntervalPeriod is requested.
FIFTEEN_MIN: The difference between StartTime and EndTime must be less
than 3 days.
THIRTY_MIN: The difference between StartTime and EndTime must be less than
3 days.
HOUR: The difference between StartTime and EndTime must be less than 3
days.
DAY: The difference between StartTime and EndTime must be less than 35
days.
WEEK: The difference between StartTime and EndTime must be less than 35
days.
TOTAL: The difference between StartTime and EndTime must be less than 35
days.
If the service returns an enum value that is not available in the current SDK version, intervalPeriod
will return IntervalPeriod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from intervalPeriodAsString().
IntervalPeriod: An aggregated grouping applied to request metrics. Valid
IntervalPeriod values are: FIFTEEN_MIN | THIRTY_MIN |
HOUR | DAY | WEEK | TOTAL.
For example, if IntervalPeriod is selected THIRTY_MIN, StartTime
and EndTime differs by 1 day, then Amazon Connect returns 48 results in the response. Each
result is aggregated by the THIRTY_MIN period. By default Amazon Connect aggregates results based on the
TOTAL interval period.
The following list describes restrictions on StartTime and EndTime based on
what IntervalPeriod is requested.
FIFTEEN_MIN: The difference between StartTime and EndTime must be
less than 3 days.
THIRTY_MIN: The difference between StartTime and EndTime must be
less than 3 days.
HOUR: The difference between StartTime and EndTime must be less
than 3 days.
DAY: The difference between StartTime and EndTime must be less
than 35 days.
WEEK: The difference between StartTime and EndTime must be less
than 35 days.
TOTAL: The difference between StartTime and EndTime must be less
than 35 days.
IntervalPeriodpublic IntervalDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IntervalDetails.Builder,IntervalDetails>public static IntervalDetails.Builder builder()
public static Class<? extends IntervalDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.