@Generated(value="com.amazonaws:awsjavasdkcodegenerator") public class AnalyticsIntentMetric 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 intents in the bot.
Constructor and Description 

AnalyticsIntentMetric() 
Modifier and Type  Method and Description 

AnalyticsIntentMetric 
clone() 
boolean 
equals(Object obj) 
String 
getName()
The metric for which you want to get intent 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 intent 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.

AnalyticsIntentMetric 
withName(AnalyticsIntentMetricName name)
The metric for which you want to get intent summary statistics.

AnalyticsIntentMetric 
withName(String name)
The metric for which you want to get intent summary statistics.

AnalyticsIntentMetric 
withOrder(AnalyticsSortOrder order)
Specifies whether to sort the results in ascending or descending order.

AnalyticsIntentMetric 
withOrder(String order)
Specifies whether to sort the results in ascending or descending order.

AnalyticsIntentMetric 
withStatistic(AnalyticsMetricStatistic statistic)
The summary statistic to calculate.

AnalyticsIntentMetric 
withStatistic(String statistic)
The summary statistic to calculate.

public void setName(String 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.
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.
AnalyticsIntentMetricName
public String getName()
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.
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.
AnalyticsIntentMetricName
public AnalyticsIntentMetric withName(String 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.
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.
AnalyticsIntentMetricName
public AnalyticsIntentMetric withName(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.
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.
AnalyticsIntentMetricName
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 intents 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 intents 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 intents 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 intents in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public AnalyticsIntentMetric 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 intents 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 intents in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public AnalyticsIntentMetric 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 intents 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 intents 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 AnalyticsIntentMetric 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 AnalyticsIntentMetric 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 AnalyticsIntentMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
 Implementation of ProtocolMarshaller
used to marshall this object's data.