@Generated(value="software.amazon.awssdk:codegen") public final class ListIntentStageMetricsRequest extends LexModelsV2Request implements ToCopyableBuilder<ListIntentStageMetricsRequest.Builder,ListIntentStageMetricsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ListIntentStageMetricsRequest.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 intent stage metrics.
|
static ListIntentStageMetricsRequest.Builder |
builder() |
Instant |
endDateTime()
The date and time that marks the end of the range of time for which you want to see intent stage metrics.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
List<AnalyticsIntentStageFilter> |
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<AnalyticsIntentStageGroupBySpecification> |
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<AnalyticsIntentStageMetric> |
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 ListIntentStageMetrics operation contains more results than specified in the maxResults
parameter, a token is returned in the response.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ListIntentStageMetricsRequest.Builder> |
serializableBuilderClass() |
Instant |
startDateTime()
The date and time that marks the beginning of the range of time for which you want to see intent stage metrics.
|
ListIntentStageMetricsRequest.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 intent stage metrics.
public final Instant startDateTime()
The date and time that marks the beginning of the range of time for which you want to see intent stage metrics.
public final Instant endDateTime()
The date and time that marks the end of the range of time for which you want to see intent stage 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<AnalyticsIntentStageMetric> 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<AnalyticsIntentStageGroupBySpecification> groupBy()
A list of objects, each of which specifies how to group the results. You can group by the following criteria:
IntentStageName – The name of the intent stage.
SwitchedToIntent – The intent to which the conversation was switched (if any).
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.
IntentStageName – The name of the intent stage.
SwitchedToIntent – The intent to which the conversation was switched (if any).
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<AnalyticsIntentStageFilter> 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 ListIntentStageMetrics 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 ListIntentStageMetrics request to return the next page of results. For a complete set of results, call the ListIntentStageMetrics operation until the nextToken returned in the response is null.
Use the returned token in the nextToken parameter of a ListIntentStageMetrics request to return the next page of results. For a complete set of results, call the ListIntentStageMetrics operation until the nextToken returned in the response is null.
public ListIntentStageMetricsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ListIntentStageMetricsRequest.Builder,ListIntentStageMetricsRequest>toBuilder in class LexModelsV2Requestpublic static ListIntentStageMetricsRequest.Builder builder()
public static Class<? extends ListIntentStageMetricsRequest.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.