@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsUtteranceMetric extends Object implements Serializable, Cloneable, StructuredPojo
Contains the metric and the summary statistic you want to calculate, and the order in which to sort the results, for the utterances across the user sessions with the bot.
Constructor and Description |
---|
AnalyticsUtteranceMetric() |
Modifier and Type | Method and Description |
---|---|
AnalyticsUtteranceMetric |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The metric for which you want to get utterance summary statistics.
|
String |
getOrder()
Specifies whether to sort the results in ascending or descending order.
|
String |
getStatistic()
The summary statistic to calculate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The metric for which you want to get utterance summary statistics.
|
void |
setOrder(String order)
Specifies whether to sort the results in ascending or descending order.
|
void |
setStatistic(String statistic)
The summary statistic to calculate.
|
String |
toString()
Returns a string representation of this object.
|
AnalyticsUtteranceMetric |
withName(AnalyticsUtteranceMetricName name)
The metric for which you want to get utterance summary statistics.
|
AnalyticsUtteranceMetric |
withName(String name)
The metric for which you want to get utterance summary statistics.
|
AnalyticsUtteranceMetric |
withOrder(AnalyticsSortOrder order)
Specifies whether to sort the results in ascending or descending order.
|
AnalyticsUtteranceMetric |
withOrder(String order)
Specifies whether to sort the results in ascending or descending order.
|
AnalyticsUtteranceMetric |
withStatistic(AnalyticsMetricStatistic statistic)
The summary statistic to calculate.
|
AnalyticsUtteranceMetric |
withStatistic(String statistic)
The summary statistic to calculate.
|
public void setName(String name)
The metric for which you want to get utterance summary statistics.
Count
– The number of utterances.
Missed
– The number of utterances that Amazon Lex failed to recognize.
Detected
– The number of utterances that Amazon Lex managed to detect.
UtteranceTimestamp
– The date and time of the utterance.
name
- The metric for which you want to get utterance summary statistics.
Count
– The number of utterances.
Missed
– The number of utterances that Amazon Lex failed to recognize.
Detected
– The number of utterances that Amazon Lex managed to detect.
UtteranceTimestamp
– The date and time of the utterance.
AnalyticsUtteranceMetricName
public String getName()
The metric for which you want to get utterance summary statistics.
Count
– The number of utterances.
Missed
– The number of utterances that Amazon Lex failed to recognize.
Detected
– The number of utterances that Amazon Lex managed to detect.
UtteranceTimestamp
– The date and time of the utterance.
Count
– The number of utterances.
Missed
– The number of utterances that Amazon Lex failed to recognize.
Detected
– The number of utterances that Amazon Lex managed to detect.
UtteranceTimestamp
– The date and time of the utterance.
AnalyticsUtteranceMetricName
public AnalyticsUtteranceMetric withName(String name)
The metric for which you want to get utterance summary statistics.
Count
– The number of utterances.
Missed
– The number of utterances that Amazon Lex failed to recognize.
Detected
– The number of utterances that Amazon Lex managed to detect.
UtteranceTimestamp
– The date and time of the utterance.
name
- The metric for which you want to get utterance summary statistics.
Count
– The number of utterances.
Missed
– The number of utterances that Amazon Lex failed to recognize.
Detected
– The number of utterances that Amazon Lex managed to detect.
UtteranceTimestamp
– The date and time of the utterance.
AnalyticsUtteranceMetricName
public AnalyticsUtteranceMetric withName(AnalyticsUtteranceMetricName name)
The metric for which you want to get utterance summary statistics.
Count
– The number of utterances.
Missed
– The number of utterances that Amazon Lex failed to recognize.
Detected
– The number of utterances that Amazon Lex managed to detect.
UtteranceTimestamp
– The date and time of the utterance.
name
- The metric for which you want to get utterance summary statistics.
Count
– The number of utterances.
Missed
– The number of utterances that Amazon Lex failed to recognize.
Detected
– The number of utterances that Amazon Lex managed to detect.
UtteranceTimestamp
– The date and time of the utterance.
AnalyticsUtteranceMetricName
public void setStatistic(String 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 utterances in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
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 utterances in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public String getStatistic()
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 utterances in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
Sum
– The total count for the category you provide in name
.
Average
– The total count divided by the number of utterances in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public AnalyticsUtteranceMetric withStatistic(String 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 utterances in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
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 utterances in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public AnalyticsUtteranceMetric withStatistic(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 utterances in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
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 utterances in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public void setOrder(String order)
Specifies whether to sort the results in ascending or descending order.
order
- Specifies whether to sort the results in ascending or descending order.AnalyticsSortOrder
public String getOrder()
Specifies whether to sort the results in ascending or descending order.
AnalyticsSortOrder
public AnalyticsUtteranceMetric withOrder(String order)
Specifies whether to sort the results in ascending or descending order.
order
- Specifies whether to sort the results in ascending or descending order.AnalyticsSortOrder
public AnalyticsUtteranceMetric withOrder(AnalyticsSortOrder order)
Specifies whether to sort the results in ascending or descending order.
order
- Specifies whether to sort the results in ascending or descending order.AnalyticsSortOrder
public String toString()
toString
in class Object
Object.toString()
public AnalyticsUtteranceMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.