@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMetricDataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetMetricDataRequest() |
Modifier and Type | Method and Description |
---|---|
GetMetricDataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Date |
getEndTime()
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical
metrics data.
|
Filters |
getFilters()
A
Filters object that contains a list of queue IDs or queue ARNs, up to 100, or a list of Channels
to use to filter the metrics returned in the response. |
List<String> |
getGroupings()
The grouping applied to the metrics returned.
|
List<HistoricalMetric> |
getHistoricalMetrics()
A list of
HistoricalMetric objects that contain the metrics to retrieve with the request. |
String |
getInstanceId()
The identifier for your Amazon Connect instance.
|
Integer |
getMaxResults()
Indicates the maximum number of results to return per page in the response, between 1-100.
|
String |
getNextToken()
The token for the next set of results.
|
Date |
getStartTime()
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of
historical metrics data.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical
metrics data.
|
void |
setFilters(Filters filters)
A
Filters object that contains a list of queue IDs or queue ARNs, up to 100, or a list of Channels
to use to filter the metrics returned in the response. |
void |
setGroupings(Collection<String> groupings)
The grouping applied to the metrics returned.
|
void |
setHistoricalMetrics(Collection<HistoricalMetric> historicalMetrics)
A list of
HistoricalMetric objects that contain the metrics to retrieve with the request. |
void |
setInstanceId(String instanceId)
The identifier for your Amazon Connect instance.
|
void |
setMaxResults(Integer maxResults)
Indicates the maximum number of results to return per page in the response, between 1-100.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setStartTime(Date startTime)
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of
historical metrics data.
|
String |
toString()
Returns a string representation of this object.
|
GetMetricDataRequest |
withEndTime(Date endTime)
The timestamp, in UNIX Epoch time format, at which to end the reporting interval for the retrieval of historical
metrics data.
|
GetMetricDataRequest |
withFilters(Filters filters)
A
Filters object that contains a list of queue IDs or queue ARNs, up to 100, or a list of Channels
to use to filter the metrics returned in the response. |
GetMetricDataRequest |
withGroupings(Collection<String> groupings)
The grouping applied to the metrics returned.
|
GetMetricDataRequest |
withGroupings(Grouping... groupings)
The grouping applied to the metrics returned.
|
GetMetricDataRequest |
withGroupings(String... groupings)
The grouping applied to the metrics returned.
|
GetMetricDataRequest |
withHistoricalMetrics(Collection<HistoricalMetric> historicalMetrics)
A list of
HistoricalMetric objects that contain the metrics to retrieve with the request. |
GetMetricDataRequest |
withHistoricalMetrics(HistoricalMetric... historicalMetrics)
A list of
HistoricalMetric objects that contain the metrics to retrieve with the request. |
GetMetricDataRequest |
withInstanceId(String instanceId)
The identifier for your Amazon Connect instance.
|
GetMetricDataRequest |
withMaxResults(Integer maxResults)
Indicates the maximum number of results to return per page in the response, between 1-100.
|
GetMetricDataRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
GetMetricDataRequest |
withStartTime(Date startTime)
The timestamp, in UNIX Epoch time format, at which to start the reporting interval for the retrieval of
historical metrics data.
|
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 setInstanceId(String instanceId)
The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is displayed in the Overview section of your instance settings. For example, the instance ID is the set of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.
instanceId
- The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and
select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is
displayed in the Overview section of your instance settings. For example, the instance ID is the set of
characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.public String getInstanceId()
The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is displayed in the Overview section of your instance settings. For example, the instance ID is the set of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.
public GetMetricDataRequest withInstanceId(String instanceId)
The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is displayed in the Overview section of your instance settings. For example, the instance ID is the set of characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.
instanceId
- The identifier for your Amazon Connect instance. To find the ID of your instance, open the AWS console and
select Amazon Connect. Select the alias of the instance in the Instance alias column. The instance ID is
displayed in the Overview section of your instance settings. For example, the instance ID is the set of
characters at the end of the instance ARN, after instance/, such as 10a4c4eb-f57e-4d4c-b602-bf39176ced07.public void setStartTime(Date 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.
StartTime
cannot be earlier than 24 hours before the time of the request. Historical metrics are
available in Amazon Connect only for 24 hours.
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.
StartTime
cannot be earlier than 24 hours before the time of the request. Historical metrics
are available in Amazon Connect only for 24 hours.
public Date getStartTime()
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.
StartTime
cannot be earlier than 24 hours before the time of the request. Historical metrics are
available in Amazon Connect only for 24 hours.
StartTime
cannot be earlier than 24 hours before the time of the request. Historical metrics
are available in Amazon Connect only for 24 hours.
public GetMetricDataRequest withStartTime(Date 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.
StartTime
cannot be earlier than 24 hours before the time of the request. Historical metrics are
available in Amazon Connect only for 24 hours.
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.
StartTime
cannot be earlier than 24 hours before the time of the request. Historical metrics
are available in Amazon Connect only for 24 hours.
public void setEndTime(Date 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 StartTime
timestamp.
The time range between StartTime
and EndTime
must be less than 24 hours.
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 StartTime
timestamp.
The time range between StartTime
and EndTime
must be less than 24 hours.
public Date getEndTime()
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 StartTime
timestamp.
The time range between StartTime
and EndTime
must be less than 24 hours.
StartTime
timestamp.
The time range between StartTime
and EndTime
must be less than 24 hours.
public GetMetricDataRequest withEndTime(Date 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 StartTime
timestamp.
The time range between StartTime
and EndTime
must be less than 24 hours.
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 StartTime
timestamp.
The time range between StartTime
and EndTime
must be less than 24 hours.
public void setFilters(Filters filters)
A Filters
object that contains a list of queue IDs or queue ARNs, up to 100, or a list of Channels
to use to filter the metrics returned in the response. Metric data is retrieved only for the resources associated
with the IDs, ARNs, or Channels included in the filter. You can use both IDs and ARNs together in a request. Only
VOICE is supported for Channel.
To find the ARN for a queue, open the queue you want to use in the Amazon Connect Queue editor. The ARN for the
queue is displayed in the address bar as part of the URL. For example, the queue ARN is the set of characters at
the end of the URL, after 'id=' such as
arn:aws:connect:us-east-1:270923740243:instance/78fb859d-1b7d-44b1-8aa3-12f0835c5855/queue/1d1a4575-9618-40ab-bbeb-81e45795fe61
. The queue ID is also included in the URL, and is the string after 'queue/'.
filters
- A Filters
object that contains a list of queue IDs or queue ARNs, up to 100, or a list of
Channels to use to filter the metrics returned in the response. Metric data is retrieved only for the
resources associated with the IDs, ARNs, or Channels included in the filter. You can use both IDs and ARNs
together in a request. Only VOICE is supported for Channel.
To find the ARN for a queue, open the queue you want to use in the Amazon Connect Queue editor. The ARN
for the queue is displayed in the address bar as part of the URL. For example, the queue ARN is the set of
characters at the end of the URL, after 'id=' such as
arn:aws:connect:us-east-1:270923740243:instance/78fb859d-1b7d-44b1-8aa3-12f0835c5855/queue/1d1a4575-9618-40ab-bbeb-81e45795fe61
. The queue ID is also included in the URL, and is the string after 'queue/'.
public Filters getFilters()
A Filters
object that contains a list of queue IDs or queue ARNs, up to 100, or a list of Channels
to use to filter the metrics returned in the response. Metric data is retrieved only for the resources associated
with the IDs, ARNs, or Channels included in the filter. You can use both IDs and ARNs together in a request. Only
VOICE is supported for Channel.
To find the ARN for a queue, open the queue you want to use in the Amazon Connect Queue editor. The ARN for the
queue is displayed in the address bar as part of the URL. For example, the queue ARN is the set of characters at
the end of the URL, after 'id=' such as
arn:aws:connect:us-east-1:270923740243:instance/78fb859d-1b7d-44b1-8aa3-12f0835c5855/queue/1d1a4575-9618-40ab-bbeb-81e45795fe61
. The queue ID is also included in the URL, and is the string after 'queue/'.
Filters
object that contains a list of queue IDs or queue ARNs, up to 100, or a list of
Channels to use to filter the metrics returned in the response. Metric data is retrieved only for the
resources associated with the IDs, ARNs, or Channels included in the filter. You can use both IDs and
ARNs together in a request. Only VOICE is supported for Channel.
To find the ARN for a queue, open the queue you want to use in the Amazon Connect Queue editor. The ARN
for the queue is displayed in the address bar as part of the URL. For example, the queue ARN is the set
of characters at the end of the URL, after 'id=' such as
arn:aws:connect:us-east-1:270923740243:instance/78fb859d-1b7d-44b1-8aa3-12f0835c5855/queue/1d1a4575-9618-40ab-bbeb-81e45795fe61
. The queue ID is also included in the URL, and is the string after 'queue/'.
public GetMetricDataRequest withFilters(Filters filters)
A Filters
object that contains a list of queue IDs or queue ARNs, up to 100, or a list of Channels
to use to filter the metrics returned in the response. Metric data is retrieved only for the resources associated
with the IDs, ARNs, or Channels included in the filter. You can use both IDs and ARNs together in a request. Only
VOICE is supported for Channel.
To find the ARN for a queue, open the queue you want to use in the Amazon Connect Queue editor. The ARN for the
queue is displayed in the address bar as part of the URL. For example, the queue ARN is the set of characters at
the end of the URL, after 'id=' such as
arn:aws:connect:us-east-1:270923740243:instance/78fb859d-1b7d-44b1-8aa3-12f0835c5855/queue/1d1a4575-9618-40ab-bbeb-81e45795fe61
. The queue ID is also included in the URL, and is the string after 'queue/'.
filters
- A Filters
object that contains a list of queue IDs or queue ARNs, up to 100, or a list of
Channels to use to filter the metrics returned in the response. Metric data is retrieved only for the
resources associated with the IDs, ARNs, or Channels included in the filter. You can use both IDs and ARNs
together in a request. Only VOICE is supported for Channel.
To find the ARN for a queue, open the queue you want to use in the Amazon Connect Queue editor. The ARN
for the queue is displayed in the address bar as part of the URL. For example, the queue ARN is the set of
characters at the end of the URL, after 'id=' such as
arn:aws:connect:us-east-1:270923740243:instance/78fb859d-1b7d-44b1-8aa3-12f0835c5855/queue/1d1a4575-9618-40ab-bbeb-81e45795fe61
. The queue ID is also included in the URL, and is the string after 'queue/'.
public List<String> getGroupings()
The grouping applied to the metrics returned. For example, when results are grouped by queueId, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for all
queues is returned.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for
all queues is returned.
Grouping
public void setGroupings(Collection<String> groupings)
The grouping applied to the metrics returned. For example, when results are grouped by queueId, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for all
queues is returned.
groupings
- The grouping applied to the metrics returned. For example, when results are grouped by queueId, the
metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than
aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for
all queues is returned.
Grouping
public GetMetricDataRequest withGroupings(String... groupings)
The grouping applied to the metrics returned. For example, when results are grouped by queueId, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for all
queues is returned.
NOTE: This method appends the values to the existing list (if any). Use
setGroupings(java.util.Collection)
or withGroupings(java.util.Collection)
if you want to
override the existing values.
groupings
- The grouping applied to the metrics returned. For example, when results are grouped by queueId, the
metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than
aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for
all queues is returned.
Grouping
public GetMetricDataRequest withGroupings(Collection<String> groupings)
The grouping applied to the metrics returned. For example, when results are grouped by queueId, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for all
queues is returned.
groupings
- The grouping applied to the metrics returned. For example, when results are grouped by queueId, the
metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than
aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for
all queues is returned.
Grouping
public GetMetricDataRequest withGroupings(Grouping... groupings)
The grouping applied to the metrics returned. For example, when results are grouped by queueId, the metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for all
queues is returned.
groupings
- The grouping applied to the metrics returned. For example, when results are grouped by queueId, the
metrics returned are grouped by queue. The values returned apply to the metrics for each queue rather than
aggregated for all queues.
The current version supports grouping by Queue
If no Grouping
is included in the request, a summary of HistoricalMetrics
for
all queues is returned.
Grouping
public List<HistoricalMetric> getHistoricalMetrics()
A list of HistoricalMetric
objects that contain the metrics to retrieve with the request.
A HistoricalMetric
object contains: HistoricalMetricName
, Statistic
,
Threshold
, and Unit
.
You must list each metric to retrieve data for in the request. For each historical metric you include in the
request, you must include a Unit
and a Statistic
.
The following historical metrics are available:
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: PERCENT
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: MAX
Unit: COUNT
Statistics: SUM
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: PERCENT
Statistics: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
HistoricalMetric
objects that contain the metrics to retrieve with the
request.
A HistoricalMetric
object contains: HistoricalMetricName
,
Statistic
, Threshold
, and Unit
.
You must list each metric to retrieve data for in the request. For each historical metric you include in
the request, you must include a Unit
and a Statistic
.
The following historical metrics are available:
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: PERCENT
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: MAX
Unit: COUNT
Statistics: SUM
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: PERCENT
Statistics: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
public void setHistoricalMetrics(Collection<HistoricalMetric> historicalMetrics)
A list of HistoricalMetric
objects that contain the metrics to retrieve with the request.
A HistoricalMetric
object contains: HistoricalMetricName
, Statistic
,
Threshold
, and Unit
.
You must list each metric to retrieve data for in the request. For each historical metric you include in the
request, you must include a Unit
and a Statistic
.
The following historical metrics are available:
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: PERCENT
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: MAX
Unit: COUNT
Statistics: SUM
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: PERCENT
Statistics: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
historicalMetrics
- A list of HistoricalMetric
objects that contain the metrics to retrieve with the request.
A HistoricalMetric
object contains: HistoricalMetricName
, Statistic
, Threshold
, and Unit
.
You must list each metric to retrieve data for in the request. For each historical metric you include in
the request, you must include a Unit
and a Statistic
.
The following historical metrics are available:
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: PERCENT
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: MAX
Unit: COUNT
Statistics: SUM
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: PERCENT
Statistics: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
public GetMetricDataRequest withHistoricalMetrics(HistoricalMetric... historicalMetrics)
A list of HistoricalMetric
objects that contain the metrics to retrieve with the request.
A HistoricalMetric
object contains: HistoricalMetricName
, Statistic
,
Threshold
, and Unit
.
You must list each metric to retrieve data for in the request. For each historical metric you include in the
request, you must include a Unit
and a Statistic
.
The following historical metrics are available:
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: PERCENT
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: MAX
Unit: COUNT
Statistics: SUM
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: PERCENT
Statistics: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
NOTE: This method appends the values to the existing list (if any). Use
setHistoricalMetrics(java.util.Collection)
or withHistoricalMetrics(java.util.Collection)
if
you want to override the existing values.
historicalMetrics
- A list of HistoricalMetric
objects that contain the metrics to retrieve with the request.
A HistoricalMetric
object contains: HistoricalMetricName
, Statistic
, Threshold
, and Unit
.
You must list each metric to retrieve data for in the request. For each historical metric you include in
the request, you must include a Unit
and a Statistic
.
The following historical metrics are available:
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: PERCENT
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: MAX
Unit: COUNT
Statistics: SUM
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: PERCENT
Statistics: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
public GetMetricDataRequest withHistoricalMetrics(Collection<HistoricalMetric> historicalMetrics)
A list of HistoricalMetric
objects that contain the metrics to retrieve with the request.
A HistoricalMetric
object contains: HistoricalMetricName
, Statistic
,
Threshold
, and Unit
.
You must list each metric to retrieve data for in the request. For each historical metric you include in the
request, you must include a Unit
and a Statistic
.
The following historical metrics are available:
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: PERCENT
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: MAX
Unit: COUNT
Statistics: SUM
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: PERCENT
Statistics: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
historicalMetrics
- A list of HistoricalMetric
objects that contain the metrics to retrieve with the request.
A HistoricalMetric
object contains: HistoricalMetricName
, Statistic
, Threshold
, and Unit
.
You must list each metric to retrieve data for in the request. For each historical metric you include in
the request, you must include a Unit
and a Statistic
.
The following historical metrics are available:
Unit: COUNT
Statistic: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: COUNT
Statistics: SUM
Unit: PERCENT
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: MAX
Unit: COUNT
Statistics: SUM
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: SECONDS
Statistics: AVG
Unit: PERCENT
Statistics: AVG
Threshold: Only "Less than" comparisons are supported, with the following service level thresholds: 15, 20, 25, 30, 45, 60, 90, 120, 180, 240, 300, 600
public void setNextToken(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.
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 String getNextToken()
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 GetMetricDataRequest withNextToken(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.
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 void setMaxResults(Integer maxResults)
Indicates the maximum number of results to return per page in the response, between 1-100.
maxResults
- Indicates the maximum number of results to return per page in the response, between 1-100.public Integer getMaxResults()
Indicates the maximum number of results to return per page in the response, between 1-100.
public GetMetricDataRequest withMaxResults(Integer maxResults)
Indicates the maximum number of results to return per page in the response, between 1-100.
maxResults
- Indicates the maximum number of results to return per page in the response, between 1-100.public String toString()
toString
in class Object
Object.toString()
public GetMetricDataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.