@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCurrentMetricDataRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetCurrentMetricDataRequest() |
Modifier and Type | Method and Description |
---|---|
GetCurrentMetricDataRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<CurrentMetric> |
getCurrentMetrics()
The metrics to retrieve.
|
Filters |
getFilters()
The queues, up to 100, or channels, to use to filter the metrics returned.
|
List<String> |
getGroupings()
The grouping applied to the metrics returned.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
Integer |
getMaxResults()
The maximimum number of results to return per page.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setCurrentMetrics(Collection<CurrentMetric> currentMetrics)
The metrics to retrieve.
|
void |
setFilters(Filters filters)
The queues, up to 100, or channels, to use to filter the metrics returned.
|
void |
setGroupings(Collection<String> groupings)
The grouping applied to the metrics returned.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setMaxResults(Integer maxResults)
The maximimum number of results to return per page.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
GetCurrentMetricDataRequest |
withCurrentMetrics(Collection<CurrentMetric> currentMetrics)
The metrics to retrieve.
|
GetCurrentMetricDataRequest |
withCurrentMetrics(CurrentMetric... currentMetrics)
The metrics to retrieve.
|
GetCurrentMetricDataRequest |
withFilters(Filters filters)
The queues, up to 100, or channels, to use to filter the metrics returned.
|
GetCurrentMetricDataRequest |
withGroupings(Collection<String> groupings)
The grouping applied to the metrics returned.
|
GetCurrentMetricDataRequest |
withGroupings(Grouping... groupings)
The grouping applied to the metrics returned.
|
GetCurrentMetricDataRequest |
withGroupings(String... groupings)
The grouping applied to the metrics returned.
|
GetCurrentMetricDataRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
GetCurrentMetricDataRequest |
withMaxResults(Integer maxResults)
The maximimum number of results to return per page.
|
GetCurrentMetricDataRequest |
withNextToken(String nextToken)
The token for the next set of results.
|
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 of the Amazon Connect instance.
instanceId
- The identifier of the Amazon Connect instance.public String getInstanceId()
The identifier of the Amazon Connect instance.
public GetCurrentMetricDataRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
instanceId
- The identifier of the Amazon Connect instance.public void setFilters(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. The only supported channel is VOICE
.
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. The only supported channel is VOICE
.public Filters getFilters()
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. The only supported channel is VOICE
.
VOICE
.public GetCurrentMetricDataRequest withFilters(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. The only supported channel is VOICE
.
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. The only supported channel is VOICE
.public List<String> getGroupings()
The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
, you
should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
QUEUE
, the
metrics returned apply to each queue rather than aggregated for all queues. If you group by
CHANNEL
, you should include a Channels filter. The only supported channel is
VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
Grouping
public void setGroupings(Collection<String> groupings)
The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
, you
should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
groupings
- The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
,
you should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
Grouping
public GetCurrentMetricDataRequest withGroupings(String... groupings)
The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
, you
should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics 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 grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
,
you should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
Grouping
public GetCurrentMetricDataRequest withGroupings(Collection<String> groupings)
The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
, you
should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
groupings
- The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
,
you should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
Grouping
public GetCurrentMetricDataRequest withGroupings(Grouping... groupings)
The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
, you
should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
groupings
- The grouping applied to the metrics returned. For example, when grouped by QUEUE
, the metrics
returned apply to each queue rather than aggregated for all queues. If you group by CHANNEL
,
you should include a Channels filter. The only supported channel is VOICE
.
If no Grouping
is included in the request, a summary of metrics is returned.
Grouping
public List<CurrentMetric> getCurrentMetrics()
The metrics to retrieve. Specify the name and unit for each metric. The following metrics are available:
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: SECONDS
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: SECONDS
Unit: COUNT
Unit: COUNT
public void setCurrentMetrics(Collection<CurrentMetric> currentMetrics)
The metrics to retrieve. Specify the name and unit for each metric. The following metrics are available:
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: SECONDS
Unit: COUNT
Unit: COUNT
currentMetrics
- The metrics to retrieve. Specify the name and unit for each metric. The following metrics are
available:
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: SECONDS
Unit: COUNT
Unit: COUNT
public GetCurrentMetricDataRequest withCurrentMetrics(CurrentMetric... currentMetrics)
The metrics to retrieve. Specify the name and unit for each metric. The following metrics are available:
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: SECONDS
Unit: COUNT
Unit: COUNT
NOTE: This method appends the values to the existing list (if any). Use
setCurrentMetrics(java.util.Collection)
or withCurrentMetrics(java.util.Collection)
if you want
to override the existing values.
currentMetrics
- The metrics to retrieve. Specify the name and unit for each metric. The following metrics are
available:
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: SECONDS
Unit: COUNT
Unit: COUNT
public GetCurrentMetricDataRequest withCurrentMetrics(Collection<CurrentMetric> currentMetrics)
The metrics to retrieve. Specify the name and unit for each metric. The following metrics are available:
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: SECONDS
Unit: COUNT
Unit: COUNT
currentMetrics
- The metrics to retrieve. Specify the name and unit for each metric. The following metrics are
available:
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: COUNT
Unit: SECONDS
Unit: COUNT
Unit: COUNT
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.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
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.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
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.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
public GetCurrentMetricDataRequest 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.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
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.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
public void setMaxResults(Integer maxResults)
The maximimum number of results to return per page.
maxResults
- The maximimum number of results to return per page.public Integer getMaxResults()
The maximimum number of results to return per page.
public GetCurrentMetricDataRequest withMaxResults(Integer maxResults)
The maximimum number of results to return per page.
maxResults
- The maximimum number of results to return per page.public String toString()
toString
in class Object
Object.toString()
public GetCurrentMetricDataRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.