@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsIntentStageMetric 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 intent stages across the user sessions with the bot.
Constructor and Description |
---|
AnalyticsIntentStageMetric() |
Modifier and Type | Method and Description |
---|---|
AnalyticsIntentStageMetric |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The metric for which you want to get intent stage summary statistics.
|
String |
getOrder()
Specifies whether to sort the results in ascending or descending order of the summary statistic (
value in the response). |
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 intent stage summary statistics.
|
void |
setOrder(String order)
Specifies whether to sort the results in ascending or descending order of the summary statistic (
value in the response). |
void |
setStatistic(String statistic)
The summary statistic to calculate.
|
String |
toString()
Returns a string representation of this object.
|
AnalyticsIntentStageMetric |
withName(AnalyticsIntentStageMetricName name)
The metric for which you want to get intent stage summary statistics.
|
AnalyticsIntentStageMetric |
withName(String name)
The metric for which you want to get intent stage summary statistics.
|
AnalyticsIntentStageMetric |
withOrder(AnalyticsSortOrder order)
Specifies whether to sort the results in ascending or descending order of the summary statistic (
value in the response). |
AnalyticsIntentStageMetric |
withOrder(String order)
Specifies whether to sort the results in ascending or descending order of the summary statistic (
value in the response). |
AnalyticsIntentStageMetric |
withStatistic(AnalyticsMetricStatistic statistic)
The summary statistic to calculate.
|
AnalyticsIntentStageMetric |
withStatistic(String statistic)
The summary statistic to calculate.
|
public void setName(String name)
The metric for which you want to get intent stage summary statistics. See Key definitions for more details about these metrics.
Count
– The number of times the intent stage occurred.
Success
– The number of times the intent stage succeeded.
Failure
– The number of times the intent stage failed.
Dropped
– The number of times the user dropped the intent stage.
Retry
– The number of times the bot tried to elicit a response from the user at this stage.
name
- The metric for which you want to get intent stage summary statistics. See Key definitions for
more details about these metrics.
Count
– The number of times the intent stage occurred.
Success
– The number of times the intent stage succeeded.
Failure
– The number of times the intent stage failed.
Dropped
– The number of times the user dropped the intent stage.
Retry
– The number of times the bot tried to elicit a response from the user at this stage.
AnalyticsIntentStageMetricName
public String getName()
The metric for which you want to get intent stage summary statistics. See Key definitions for more details about these metrics.
Count
– The number of times the intent stage occurred.
Success
– The number of times the intent stage succeeded.
Failure
– The number of times the intent stage failed.
Dropped
– The number of times the user dropped the intent stage.
Retry
– The number of times the bot tried to elicit a response from the user at this stage.
Count
– The number of times the intent stage occurred.
Success
– The number of times the intent stage succeeded.
Failure
– The number of times the intent stage failed.
Dropped
– The number of times the user dropped the intent stage.
Retry
– The number of times the bot tried to elicit a response from the user at this stage.
AnalyticsIntentStageMetricName
public AnalyticsIntentStageMetric withName(String name)
The metric for which you want to get intent stage summary statistics. See Key definitions for more details about these metrics.
Count
– The number of times the intent stage occurred.
Success
– The number of times the intent stage succeeded.
Failure
– The number of times the intent stage failed.
Dropped
– The number of times the user dropped the intent stage.
Retry
– The number of times the bot tried to elicit a response from the user at this stage.
name
- The metric for which you want to get intent stage summary statistics. See Key definitions for
more details about these metrics.
Count
– The number of times the intent stage occurred.
Success
– The number of times the intent stage succeeded.
Failure
– The number of times the intent stage failed.
Dropped
– The number of times the user dropped the intent stage.
Retry
– The number of times the bot tried to elicit a response from the user at this stage.
AnalyticsIntentStageMetricName
public AnalyticsIntentStageMetric withName(AnalyticsIntentStageMetricName name)
The metric for which you want to get intent stage summary statistics. See Key definitions for more details about these metrics.
Count
– The number of times the intent stage occurred.
Success
– The number of times the intent stage succeeded.
Failure
– The number of times the intent stage failed.
Dropped
– The number of times the user dropped the intent stage.
Retry
– The number of times the bot tried to elicit a response from the user at this stage.
name
- The metric for which you want to get intent stage summary statistics. See Key definitions for
more details about these metrics.
Count
– The number of times the intent stage occurred.
Success
– The number of times the intent stage succeeded.
Failure
– The number of times the intent stage failed.
Dropped
– The number of times the user dropped the intent stage.
Retry
– The number of times the bot tried to elicit a response from the user at this stage.
AnalyticsIntentStageMetricName
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 intent stages 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 intent stages 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 intent stages 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 intent stages in the category you provide
in name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public AnalyticsIntentStageMetric 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 intent stages 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 intent stages in the category you provide
in name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public AnalyticsIntentStageMetric 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 intent stages 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 intent stages 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 of the summary statistic (
value
in the response).
order
- Specifies whether to sort the results in ascending or descending order of the summary statistic (
value
in the response).AnalyticsSortOrder
public String getOrder()
Specifies whether to sort the results in ascending or descending order of the summary statistic (
value
in the response).
value
in the response).AnalyticsSortOrder
public AnalyticsIntentStageMetric withOrder(String order)
Specifies whether to sort the results in ascending or descending order of the summary statistic (
value
in the response).
order
- Specifies whether to sort the results in ascending or descending order of the summary statistic (
value
in the response).AnalyticsSortOrder
public AnalyticsIntentStageMetric withOrder(AnalyticsSortOrder order)
Specifies whether to sort the results in ascending or descending order of the summary statistic (
value
in the response).
order
- Specifies whether to sort the results in ascending or descending order of the summary statistic (
value
in the response).AnalyticsSortOrder
public String toString()
toString
in class Object
Object.toString()
public AnalyticsIntentStageMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.