@Generated(value="software.amazon.awssdk:codegen") public final class GetMetricDataRequest extends ConnectRequest implements ToCopyableBuilder<GetMetricDataRequest.Builder,GetMetricDataRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetMetricDataRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetMetricDataRequest.Builder |
builder() |
Instant |
endTime()
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical
metrics data.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Filters |
filters()
The queues, up to 100, or channels, to use to filter the metrics returned.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<Grouping> |
groupings()
The grouping applied to the metrics returned.
|
List<String> |
groupingsAsStrings()
The grouping applied to the metrics returned.
|
boolean |
hasGroupings()
Returns true if the Groupings property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasHistoricalMetrics()
Returns true if the HistoricalMetrics property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<HistoricalMetric> |
historicalMetrics()
The metrics to retrieve.
|
String |
instanceId()
The identifier of the Amazon Connect instance.
|
Integer |
maxResults()
The maximum number of results to return per page.
|
String |
nextToken()
The token for the next set of results.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetMetricDataRequest.Builder> |
serializableBuilderClass() |
Instant |
startTime()
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of
historical metrics data.
|
GetMetricDataRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String instanceId()
The identifier of the Amazon Connect instance.
public final Instant startTime()
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of historical metrics data. The time must be specified using a multiple of 5 minutes, such as 10:05, 10:10, 10:15.
The start time cannot be earlier than 24 hours before the time of the request. Historical metrics are available only for 24 hours.
The start time cannot be earlier than 24 hours before the time of the request. Historical metrics are available only for 24 hours.
public final Instant endTime()
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical metrics data. The time must be specified using an interval of 5 minutes, such as 11:00, 11:05, 11:10, and must be later than the start time timestamp.
The time range between the start and end time must be less than 24 hours.
The time range between the start and end time must be less than 24 hours.
public final Filters filters()
The queues, up to 100, or channels, to use to filter the metrics returned. Metric data is retrieved only for the resources associated with the queues or channels included in the filter. You can include both queue IDs and queue ARNs in the same request. VOICE, CHAT, and TASK channels are supported.
To filter by Queues, enter the queue ID/ARN, not the name of the queue.
To filter by Queues, enter the queue ID/ARN, not the name of the queue.
public final List<Grouping> groupings()
The grouping applied to the metrics returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
If no grouping is specified, a summary of metrics for all queues is returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupings() to see if a value was sent in this field.
If no grouping is specified, a summary of metrics for all queues is returned.
public final boolean hasGroupings()
public final List<String> groupingsAsStrings()
The grouping applied to the metrics returned. For example, when results are grouped by queue, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
If no grouping is specified, a summary of metrics for all queues is returned.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasGroupings() to see if a value was sent in this field.
If no grouping is specified, a summary of metrics for all queues is returned.
public final boolean hasHistoricalMetrics()
public final List<HistoricalMetric> historicalMetrics()
The metrics to retrieve. Specify the name, unit, and statistic for each metric. The following historical metrics are available. For a description of each metric, see Historical Metrics Definitions in the Amazon Connect Administrator Guide.
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: PERCENT
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: MAX
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: PERCENT
Statistic: AVG
Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in seconds. For
Comparison, you must enter LT (for "Less than").
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasHistoricalMetrics() to see if a value was sent in this field.
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistic: SUM
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: PERCENT
Statistic: AVG
Unit: SECONDS
Statistic: AVG
Unit: SECONDS
Statistic: MAX
You can include up to 20 SERVICE_LEVEL metrics in a request.
Unit: PERCENT
Statistic: AVG
Threshold: For ThresholdValue, enter any whole number from 1 to 604800 (inclusive), in
seconds. For Comparison, you must enter LT (for "Less than").
public final String nextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public final Integer maxResults()
The maximum number of results to return per page.
public GetMetricDataRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetMetricDataRequest.Builder,GetMetricDataRequest>toBuilder in class ConnectRequestpublic static GetMetricDataRequest.Builder builder()
public static Class<? extends GetMetricDataRequest.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 © 2021. All rights reserved.