Class RelativeAggregationDuration
- java.lang.Object
-
- software.amazon.awssdk.services.lexmodelsv2.model.RelativeAggregationDuration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RelativeAggregationDuration.Builder,RelativeAggregationDuration>
@Generated("software.amazon.awssdk:codegen") public final class RelativeAggregationDuration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RelativeAggregationDuration.Builder,RelativeAggregationDuration>
Specifies the time window that utterance statistics are returned for. The time window is always relative to the last time that the that utterances were aggregated. For example, if the
ListAggregatedUtterancesoperation is called at 1600, the time window is set to 1 hour, and the last refresh time was 1530, only utterances made between 1430 and 1530 are returned.You can choose the time window that statistics should be returned for.
-
Hours - You can request utterance statistics for 1, 3, 6, 12, or 24 hour time windows. Statistics are refreshed every half hour for 1 hour time windows, and hourly for the other time windows.
-
Days - You can request utterance statistics for 3 days. Statistics are refreshed every 6 hours.
-
Weeks - You can see statistics for one or two weeks. Statistics are refreshed every 12 hours for one week time windows, and once per day for two week time windows.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRelativeAggregationDuration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RelativeAggregationDuration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RelativeAggregationDuration.Builder>serializableBuilderClass()TimeDimensiontimeDimension()The type of time period that thetimeValuefield represents.StringtimeDimensionAsString()The type of time period that thetimeValuefield represents.IntegertimeValue()The period of the time window to gather statistics for.RelativeAggregationDuration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
timeDimension
public final TimeDimension timeDimension()
The type of time period that the
timeValuefield represents.If the service returns an enum value that is not available in the current SDK version,
timeDimensionwill returnTimeDimension.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimeDimensionAsString().- Returns:
- The type of time period that the
timeValuefield represents. - See Also:
TimeDimension
-
timeDimensionAsString
public final String timeDimensionAsString()
The type of time period that the
timeValuefield represents.If the service returns an enum value that is not available in the current SDK version,
timeDimensionwill returnTimeDimension.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtimeDimensionAsString().- Returns:
- The type of time period that the
timeValuefield represents. - See Also:
TimeDimension
-
timeValue
public final Integer timeValue()
The period of the time window to gather statistics for. The valid value depends on the setting of the
timeDimensionfield.-
Hours- 1/3/6/12/24 -
Days- 3 -
Weeks- 1/2
- Returns:
- The period of the time window to gather statistics for. The valid value depends on the setting of the
timeDimensionfield.-
Hours- 1/3/6/12/24 -
Days- 3 -
Weeks- 1/2
-
-
-
toBuilder
public RelativeAggregationDuration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RelativeAggregationDuration.Builder,RelativeAggregationDuration>
-
builder
public static RelativeAggregationDuration.Builder builder()
-
serializableBuilderClass
public static Class<? extends RelativeAggregationDuration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-