@Generated(value="software.amazon.awssdk:codegen") public final class ListSessionMetricsRequest extends LexModelsV2Request implements ToCopyableBuilder<ListSessionMetricsRequest.Builder,ListSessionMetricsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListSessionMetricsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AnalyticsBinBySpecification> |
binBy()
A list of objects, each of which contains specifications for organizing the results by time.
|
String |
botId()
The identifier for the bot for which you want to retrieve session metrics.
|
static ListSessionMetricsRequest.Builder |
builder() |
Instant |
endDateTime()
The date and time that marks the end of the range of time for which you want to see session metrics.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<AnalyticsSessionFilter> |
filters()
A list of objects, each of which describes a condition by which you want to filter the results.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<AnalyticsSessionGroupBySpecification> |
groupBy()
A list of objects, each of which specifies how to group the results.
|
boolean |
hasBinBy()
For responses, this returns true if the service returned a value for the BinBy property.
|
boolean |
hasFilters()
For responses, this returns true if the service returned a value for the Filters property.
|
boolean |
hasGroupBy()
For responses, this returns true if the service returned a value for the GroupBy property.
|
int |
hashCode() |
boolean |
hasMetrics()
For responses, this returns true if the service returned a value for the Metrics property.
|
Integer |
maxResults()
The maximum number of results to return in each page of results.
|
List<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.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListSessionMetricsRequest.Builder> |
serializableBuilderClass() |
Instant |
startDateTime()
The date and time that marks the beginning of the range of time for which you want to see session metrics.
|
ListSessionMetricsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String botId()
The identifier for the bot for which you want to retrieve session metrics.
public final Instant startDateTime()
The date and time that marks the beginning of the range of time for which you want to see session metrics.
public final Instant endDateTime()
The date and time that marks the end of the range of time for which you want to see session metrics.
public final boolean hasMetrics()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasMetrics() method.
public final boolean hasBinBy()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final List<AnalyticsBinBySpecification> binBy()
A list of objects, each of which contains specifications for organizing the results by time.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasBinBy() method.
public final boolean hasGroupBy()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasGroupBy() method.
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 final boolean hasFilters()
isEmpty() method on the property). This is
useful because the SDK will never return a null collection or map, but you may need to differentiate between the
service returning nothing (or null) and the service returning an empty collection or map. For requests, this
returns true if a value for the property was specified in the request builder, and false if a value was not
specified.public final List<AnalyticsSessionFilter> filters()
A list of objects, each of which describes a condition by which you want to filter the results.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasFilters() method.
public final 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.
public final 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListSessionMetricsRequest.Builder,ListSessionMetricsRequest>toBuilder in class LexModelsV2Requestpublic static ListSessionMetricsRequest.Builder builder()
public static Class<? extends ListSessionMetricsRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.