@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnalyticsSessionMetric 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 user sessions with the bot.
Constructor and Description |
---|
AnalyticsSessionMetric() |
Modifier and Type | Method and Description |
---|---|
AnalyticsSessionMetric |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The metric for which you want to get session 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 session 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.
|
AnalyticsSessionMetric |
withName(AnalyticsSessionMetricName name)
The metric for which you want to get session summary statistics.
|
AnalyticsSessionMetric |
withName(String name)
The metric for which you want to get session summary statistics.
|
AnalyticsSessionMetric |
withOrder(AnalyticsSortOrder order)
Specifies whether to sort the results in ascending or descending order.
|
AnalyticsSessionMetric |
withOrder(String order)
Specifies whether to sort the results in ascending or descending order.
|
AnalyticsSessionMetric |
withStatistic(AnalyticsMetricStatistic statistic)
The summary statistic to calculate.
|
AnalyticsSessionMetric |
withStatistic(String statistic)
The summary statistic to calculate.
|
public void setName(String name)
The metric for which you want to get session summary statistics.
Count
– The number of sessions.
Success
– The number of sessions that succeeded.
Failure
– The number of sessions that failed.
Dropped
– The number of sessions that the user dropped.
Duration
– The duration of sessions.
TurnsPerSession
– The number of turns in the sessions.
Concurrency
– The number of sessions occurring in the same period of time.
name
- The metric for which you want to get session summary statistics.
Count
– The number of sessions.
Success
– The number of sessions that succeeded.
Failure
– The number of sessions that failed.
Dropped
– The number of sessions that the user dropped.
Duration
– The duration of sessions.
TurnsPerSession
– The number of turns in the sessions.
Concurrency
– The number of sessions occurring in the same period of time.
AnalyticsSessionMetricName
public String getName()
The metric for which you want to get session summary statistics.
Count
– The number of sessions.
Success
– The number of sessions that succeeded.
Failure
– The number of sessions that failed.
Dropped
– The number of sessions that the user dropped.
Duration
– The duration of sessions.
TurnsPerSession
– The number of turns in the sessions.
Concurrency
– The number of sessions occurring in the same period of time.
Count
– The number of sessions.
Success
– The number of sessions that succeeded.
Failure
– The number of sessions that failed.
Dropped
– The number of sessions that the user dropped.
Duration
– The duration of sessions.
TurnsPerSession
– The number of turns in the sessions.
Concurrency
– The number of sessions occurring in the same period of time.
AnalyticsSessionMetricName
public AnalyticsSessionMetric withName(String name)
The metric for which you want to get session summary statistics.
Count
– The number of sessions.
Success
– The number of sessions that succeeded.
Failure
– The number of sessions that failed.
Dropped
– The number of sessions that the user dropped.
Duration
– The duration of sessions.
TurnsPerSession
– The number of turns in the sessions.
Concurrency
– The number of sessions occurring in the same period of time.
name
- The metric for which you want to get session summary statistics.
Count
– The number of sessions.
Success
– The number of sessions that succeeded.
Failure
– The number of sessions that failed.
Dropped
– The number of sessions that the user dropped.
Duration
– The duration of sessions.
TurnsPerSession
– The number of turns in the sessions.
Concurrency
– The number of sessions occurring in the same period of time.
AnalyticsSessionMetricName
public AnalyticsSessionMetric withName(AnalyticsSessionMetricName name)
The metric for which you want to get session summary statistics.
Count
– The number of sessions.
Success
– The number of sessions that succeeded.
Failure
– The number of sessions that failed.
Dropped
– The number of sessions that the user dropped.
Duration
– The duration of sessions.
TurnsPerSession
– The number of turns in the sessions.
Concurrency
– The number of sessions occurring in the same period of time.
name
- The metric for which you want to get session summary statistics.
Count
– The number of sessions.
Success
– The number of sessions that succeeded.
Failure
– The number of sessions that failed.
Dropped
– The number of sessions that the user dropped.
Duration
– The duration of sessions.
TurnsPerSession
– The number of turns in the sessions.
Concurrency
– The number of sessions occurring in the same period of time.
AnalyticsSessionMetricName
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 sessions 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 sessions 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 sessions 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 sessions in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public AnalyticsSessionMetric 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 sessions 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 sessions in the category you provide in
name
.
Max
– The highest count in the category you provide in name
.
AnalyticsMetricStatistic
public AnalyticsSessionMetric 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 sessions 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 sessions 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 AnalyticsSessionMetric 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 AnalyticsSessionMetric 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 AnalyticsSessionMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.