Class ListMetricsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A list of dimensions to filter against.The name of the metric to filter against.The namespace to filter against.The token returned by a previous call to indicate that there is more data available.int
hashCode()
void
setDimensions
(Collection<DimensionFilter> dimensions) A list of dimensions to filter against.void
setMetricName
(String metricName) The name of the metric to filter against.void
setNamespace
(String namespace) The namespace to filter against.void
setNextToken
(String nextToken) The token returned by a previous call to indicate that there is more data available.toString()
Returns a string representation of this object; useful for testing and debugging.withDimensions
(DimensionFilter... dimensions) A list of dimensions to filter against.withDimensions
(Collection<DimensionFilter> dimensions) A list of dimensions to filter against.withMetricName
(String metricName) The name of the metric to filter against.withNamespace
(String namespace) The namespace to filter against.withNextToken
(String nextToken) The token returned by a previous call to indicate that there is more data available.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ListMetricsRequest
public ListMetricsRequest()
-
-
Method Details
-
setNamespace
The namespace to filter against.
- Parameters:
namespace
- The namespace to filter against.
-
getNamespace
The namespace to filter against.
- Returns:
- The namespace to filter against.
-
withNamespace
The namespace to filter against.
- Parameters:
namespace
- The namespace to filter against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMetricName
The name of the metric to filter against.
- Parameters:
metricName
- The name of the metric to filter against.
-
getMetricName
The name of the metric to filter against.
- Returns:
- The name of the metric to filter against.
-
withMetricName
The name of the metric to filter against.
- Parameters:
metricName
- The name of the metric to filter against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDimensions
A list of dimensions to filter against.
- Returns:
- A list of dimensions to filter against.
-
setDimensions
A list of dimensions to filter against.
- Parameters:
dimensions
- A list of dimensions to filter against.
-
withDimensions
A list of dimensions to filter against.
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection)
orwithDimensions(java.util.Collection)
if you want to override the existing values.- Parameters:
dimensions
- A list of dimensions to filter against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDimensions
A list of dimensions to filter against.
- Parameters:
dimensions
- A list of dimensions to filter against.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The token returned by a previous call to indicate that there is more data available.
- Parameters:
nextToken
- The token returned by a previous call to indicate that there is more data available.
-
getNextToken
The token returned by a previous call to indicate that there is more data available.
- Returns:
- The token returned by a previous call to indicate that there is more data available.
-
withNextToken
The token returned by a previous call to indicate that there is more data available.
- Parameters:
nextToken
- The token returned by a previous call to indicate that there is more data available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-