@Generated(value="software.amazon.awssdk:codegen") public final class AnalyticsIntentMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalyticsIntentMetric.Builder,AnalyticsIntentMetric>
Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the intents in the bot.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnalyticsIntentMetric.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AnalyticsIntentMetric.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
AnalyticsIntentMetricName |
name()
The metric for which you want to get intent summary statistics.
|
String |
nameAsString()
The metric for which you want to get intent summary statistics.
|
AnalyticsSortOrder |
order()
Specifies whether to sort the results in ascending or descending order.
|
String |
orderAsString()
Specifies whether to sort the results in ascending or descending order.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnalyticsIntentMetric.Builder> |
serializableBuilderClass() |
AnalyticsMetricStatistic |
statistic()
The summary statistic to calculate.
|
String |
statisticAsString()
The summary statistic to calculate.
|
AnalyticsIntentMetric.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AnalyticsIntentMetricName name()
The metric for which you want to get intent summary statistics.
Count – The number of times the intent was invoked.
Success – The number of times the intent succeeded.
Failure – The number of times the intent failed.
Switched – The number of times there was a switch to a different intent.
Dropped – The number of times the user dropped the intent.
If the service returns an enum value that is not available in the current SDK version, name will return
AnalyticsIntentMetricName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
Count – The number of times the intent was invoked.
Success – The number of times the intent succeeded.
Failure – The number of times the intent failed.
Switched – The number of times there was a switch to a different intent.
Dropped – The number of times the user dropped the intent.
AnalyticsIntentMetricNamepublic final String nameAsString()
The metric for which you want to get intent summary statistics.
Count – The number of times the intent was invoked.
Success – The number of times the intent succeeded.
Failure – The number of times the intent failed.
Switched – The number of times there was a switch to a different intent.
Dropped – The number of times the user dropped the intent.
If the service returns an enum value that is not available in the current SDK version, name will return
AnalyticsIntentMetricName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
Count – The number of times the intent was invoked.
Success – The number of times the intent succeeded.
Failure – The number of times the intent failed.
Switched – The number of times there was a switch to a different intent.
Dropped – The number of times the user dropped the intent.
AnalyticsIntentMetricNamepublic final AnalyticsMetricStatistic statistic()
The summary statistic to calculate.
Sum – The total count for the category you provide in name.
Average – The total count divided by the number of intents in the category you provide in
name.
Max – The highest count in the category you provide in name.
If the service returns an enum value that is not available in the current SDK version, statistic will
return AnalyticsMetricStatistic.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statisticAsString().
Sum – The total count for the category you provide in name.
Average – The total count divided by the number of intents in the category you provide in
name.
Max – The highest count in the category you provide in name.
AnalyticsMetricStatisticpublic final String statisticAsString()
The summary statistic to calculate.
Sum – The total count for the category you provide in name.
Average – The total count divided by the number of intents in the category you provide in
name.
Max – The highest count in the category you provide in name.
If the service returns an enum value that is not available in the current SDK version, statistic will
return AnalyticsMetricStatistic.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statisticAsString().
Sum – The total count for the category you provide in name.
Average – The total count divided by the number of intents in the category you provide in
name.
Max – The highest count in the category you provide in name.
AnalyticsMetricStatisticpublic final AnalyticsSortOrder order()
Specifies whether to sort the results in ascending or descending order.
If the service returns an enum value that is not available in the current SDK version, order will return
AnalyticsSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
AnalyticsSortOrderpublic final String orderAsString()
Specifies whether to sort the results in ascending or descending order.
If the service returns an enum value that is not available in the current SDK version, order will return
AnalyticsSortOrder.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
orderAsString().
AnalyticsSortOrderpublic AnalyticsIntentMetric.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnalyticsIntentMetric.Builder,AnalyticsIntentMetric>public static AnalyticsIntentMetric.Builder builder()
public static Class<? extends AnalyticsIntentMetric.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.