@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSessionMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListSessionMetricsRequest() |
Modifier and Type | Method and Description |
---|---|
ListSessionMetricsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<AnalyticsBinBySpecification> |
getBinBy()
A list of objects, each of which contains specifications for organizing the results by time.
|
String |
getBotId()
The identifier for the bot for which you want to retrieve session metrics.
|
Date |
getEndDateTime()
The date and time that marks the end of the range of time for which you want to see session metrics.
|
List<AnalyticsSessionFilter> |
getFilters()
A list of objects, each of which describes a condition by which you want to filter the results.
|
List<AnalyticsSessionGroupBySpecification> |
getGroupBy()
A list of objects, each of which specifies how to group the results.
|
Integer |
getMaxResults()
The maximum number of results to return in each page of results.
|
List<AnalyticsSessionMetric> |
getMetrics()
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to
return, and the method by which to organize the results.
|
String |
getNextToken()
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults
parameter, a token is returned in the response.
|
Date |
getStartDateTime()
The date and time that marks the beginning of the range of time for which you want to see session metrics.
|
int |
hashCode() |
void |
setBinBy(Collection<AnalyticsBinBySpecification> binBy)
A list of objects, each of which contains specifications for organizing the results by time.
|
void |
setBotId(String botId)
The identifier for the bot for which you want to retrieve session metrics.
|
void |
setEndDateTime(Date endDateTime)
The date and time that marks the end of the range of time for which you want to see session metrics.
|
void |
setFilters(Collection<AnalyticsSessionFilter> filters)
A list of objects, each of which describes a condition by which you want to filter the results.
|
void |
setGroupBy(Collection<AnalyticsSessionGroupBySpecification> groupBy)
A list of objects, each of which specifies how to group the results.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in each page of results.
|
void |
setMetrics(Collection<AnalyticsSessionMetric> metrics)
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to
return, and the method by which to organize the results.
|
void |
setNextToken(String nextToken)
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults
parameter, a token is returned in the response.
|
void |
setStartDateTime(Date startDateTime)
The date and time that marks the beginning of the range of time for which you want to see session metrics.
|
String |
toString()
Returns a string representation of this object.
|
ListSessionMetricsRequest |
withBinBy(AnalyticsBinBySpecification... binBy)
A list of objects, each of which contains specifications for organizing the results by time.
|
ListSessionMetricsRequest |
withBinBy(Collection<AnalyticsBinBySpecification> binBy)
A list of objects, each of which contains specifications for organizing the results by time.
|
ListSessionMetricsRequest |
withBotId(String botId)
The identifier for the bot for which you want to retrieve session metrics.
|
ListSessionMetricsRequest |
withEndDateTime(Date endDateTime)
The date and time that marks the end of the range of time for which you want to see session metrics.
|
ListSessionMetricsRequest |
withFilters(AnalyticsSessionFilter... filters)
A list of objects, each of which describes a condition by which you want to filter the results.
|
ListSessionMetricsRequest |
withFilters(Collection<AnalyticsSessionFilter> filters)
A list of objects, each of which describes a condition by which you want to filter the results.
|
ListSessionMetricsRequest |
withGroupBy(AnalyticsSessionGroupBySpecification... groupBy)
A list of objects, each of which specifies how to group the results.
|
ListSessionMetricsRequest |
withGroupBy(Collection<AnalyticsSessionGroupBySpecification> groupBy)
A list of objects, each of which specifies how to group the results.
|
ListSessionMetricsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in each page of results.
|
ListSessionMetricsRequest |
withMetrics(AnalyticsSessionMetric... metrics)
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to
return, and the method by which to organize the results.
|
ListSessionMetricsRequest |
withMetrics(Collection<AnalyticsSessionMetric> metrics)
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to
return, and the method by which to organize the results.
|
ListSessionMetricsRequest |
withNextToken(String nextToken)
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults
parameter, a token is returned in the response.
|
ListSessionMetricsRequest |
withStartDateTime(Date startDateTime)
The date and time that marks the beginning of the range of time for which you want to see session metrics.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBotId(String botId)
The identifier for the bot for which you want to retrieve session metrics.
botId
- The identifier for the bot for which you want to retrieve session metrics.public String getBotId()
The identifier for the bot for which you want to retrieve session metrics.
public ListSessionMetricsRequest withBotId(String botId)
The identifier for the bot for which you want to retrieve session metrics.
botId
- The identifier for the bot for which you want to retrieve session metrics.public void setStartDateTime(Date startDateTime)
The date and time that marks the beginning of the range of time for which you want to see session metrics.
startDateTime
- The date and time that marks the beginning of the range of time for which you want to see session metrics.public Date getStartDateTime()
The date and time that marks the beginning of the range of time for which you want to see session metrics.
public ListSessionMetricsRequest withStartDateTime(Date startDateTime)
The date and time that marks the beginning of the range of time for which you want to see session metrics.
startDateTime
- The date and time that marks the beginning of the range of time for which you want to see session metrics.public void setEndDateTime(Date endDateTime)
The date and time that marks the end of the range of time for which you want to see session metrics.
endDateTime
- The date and time that marks the end of the range of time for which you want to see session metrics.public Date getEndDateTime()
The date and time that marks the end of the range of time for which you want to see session metrics.
public ListSessionMetricsRequest withEndDateTime(Date endDateTime)
The date and time that marks the end of the range of time for which you want to see session metrics.
endDateTime
- The date and time that marks the end of the range of time for which you want to see session metrics.public List<AnalyticsSessionMetric> getMetrics()
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
public void setMetrics(Collection<AnalyticsSessionMetric> metrics)
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
metrics
- A list of objects, each of which contains a metric you want to list, the statistic for the metric you want
to return, and the method by which to organize the results.public ListSessionMetricsRequest withMetrics(AnalyticsSessionMetric... metrics)
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
NOTE: This method appends the values to the existing list (if any). Use
setMetrics(java.util.Collection)
or withMetrics(java.util.Collection)
if you want to override
the existing values.
metrics
- A list of objects, each of which contains a metric you want to list, the statistic for the metric you want
to return, and the method by which to organize the results.public ListSessionMetricsRequest withMetrics(Collection<AnalyticsSessionMetric> metrics)
A list of objects, each of which contains a metric you want to list, the statistic for the metric you want to return, and the method by which to organize the results.
metrics
- A list of objects, each of which contains a metric you want to list, the statistic for the metric you want
to return, and the method by which to organize the results.public List<AnalyticsBinBySpecification> getBinBy()
A list of objects, each of which contains specifications for organizing the results by time.
public void setBinBy(Collection<AnalyticsBinBySpecification> binBy)
A list of objects, each of which contains specifications for organizing the results by time.
binBy
- A list of objects, each of which contains specifications for organizing the results by time.public ListSessionMetricsRequest withBinBy(AnalyticsBinBySpecification... binBy)
A list of objects, each of which contains specifications for organizing the results by time.
NOTE: This method appends the values to the existing list (if any). Use
setBinBy(java.util.Collection)
or withBinBy(java.util.Collection)
if you want to override the
existing values.
binBy
- A list of objects, each of which contains specifications for organizing the results by time.public ListSessionMetricsRequest withBinBy(Collection<AnalyticsBinBySpecification> binBy)
A list of objects, each of which contains specifications for organizing the results by time.
binBy
- A list of objects, each of which contains specifications for organizing the results by time.public List<AnalyticsSessionGroupBySpecification> getGroupBy()
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
ConversationEndState
– The final state of the conversation. The possible end states are detailed in
Key definitions in the user
guide.
LocaleId
– The unique identifier of the bot locale.
ConversationEndState
– The final state of the conversation. The possible end states are
detailed in Key
definitions in the user guide.
LocaleId
– The unique identifier of the bot locale.
public void setGroupBy(Collection<AnalyticsSessionGroupBySpecification> groupBy)
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
ConversationEndState
– The final state of the conversation. The possible end states are detailed in
Key definitions in the user
guide.
LocaleId
– The unique identifier of the bot locale.
groupBy
- A list of objects, each of which specifies how to group the results. You can group by the following
criteria:
ConversationEndState
– The final state of the conversation. The possible end states are
detailed in Key
definitions in the user guide.
LocaleId
– The unique identifier of the bot locale.
public ListSessionMetricsRequest withGroupBy(AnalyticsSessionGroupBySpecification... groupBy)
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
ConversationEndState
– The final state of the conversation. The possible end states are detailed in
Key definitions in the user
guide.
LocaleId
– The unique identifier of the bot locale.
NOTE: This method appends the values to the existing list (if any). Use
setGroupBy(java.util.Collection)
or withGroupBy(java.util.Collection)
if you want to override
the existing values.
groupBy
- A list of objects, each of which specifies how to group the results. You can group by the following
criteria:
ConversationEndState
– The final state of the conversation. The possible end states are
detailed in Key
definitions in the user guide.
LocaleId
– The unique identifier of the bot locale.
public ListSessionMetricsRequest withGroupBy(Collection<AnalyticsSessionGroupBySpecification> groupBy)
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
ConversationEndState
– The final state of the conversation. The possible end states are detailed in
Key definitions in the user
guide.
LocaleId
– The unique identifier of the bot locale.
groupBy
- A list of objects, each of which specifies how to group the results. You can group by the following
criteria:
ConversationEndState
– The final state of the conversation. The possible end states are
detailed in Key
definitions in the user guide.
LocaleId
– The unique identifier of the bot locale.
public List<AnalyticsSessionFilter> getFilters()
A list of objects, each of which describes a condition by which you want to filter the results.
public void setFilters(Collection<AnalyticsSessionFilter> filters)
A list of objects, each of which describes a condition by which you want to filter the results.
filters
- A list of objects, each of which describes a condition by which you want to filter the results.public ListSessionMetricsRequest withFilters(AnalyticsSessionFilter... filters)
A list of objects, each of which describes a condition by which you want to filter the results.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- A list of objects, each of which describes a condition by which you want to filter the results.public ListSessionMetricsRequest withFilters(Collection<AnalyticsSessionFilter> filters)
A list of objects, each of which describes a condition by which you want to filter the results.
filters
- A list of objects, each of which describes a condition by which you want to filter the results.public void setMaxResults(Integer maxResults)
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
maxResults
- The maximum number of results to return in each page of results. If there are fewer results than the
maximum page size, only the actual number of results are returned.public Integer getMaxResults()
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
public ListSessionMetricsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
maxResults
- The maximum number of results to return in each page of results. If there are fewer results than the
maximum page size, only the actual number of results are returned.public void setNextToken(String nextToken)
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
nextToken
- If the response from the ListSessionMetrics operation contains more results than specified in the
maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
public String getNextToken()
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
public ListSessionMetricsRequest withNextToken(String nextToken)
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
nextToken
- If the response from the ListSessionMetrics operation contains more results than specified in the
maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
public String toString()
toString
in class Object
Object.toString()
public ListSessionMetricsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()