@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMetricsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListMetricsRequest() |
Modifier and Type | Method and Description |
---|---|
ListMetricsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<DimensionFilter> |
getDimensions()
The dimensions to filter against.
|
String |
getMetricName()
The name of the metric to filter against.
|
String |
getNamespace()
The namespace to filter against.
|
String |
getNextToken()
The token returned by a previous call to indicate that there is more data available.
|
int |
hashCode() |
void |
setDimensions(Collection<DimensionFilter> dimensions)
The 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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListMetricsRequest |
withDimensions(Collection<DimensionFilter> dimensions)
The dimensions to filter against.
|
ListMetricsRequest |
withDimensions(DimensionFilter... dimensions)
The dimensions to filter against.
|
ListMetricsRequest |
withMetricName(String metricName)
The name of the metric to filter against.
|
ListMetricsRequest |
withNamespace(String namespace)
The namespace to filter against.
|
ListMetricsRequest |
withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
|
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 setNamespace(String namespace)
The namespace to filter against.
namespace
- The namespace to filter against.public String getNamespace()
The namespace to filter against.
public ListMetricsRequest withNamespace(String namespace)
The namespace to filter against.
namespace
- The namespace to filter against.public void setMetricName(String metricName)
The name of the metric to filter against.
metricName
- The name of the metric to filter against.public String getMetricName()
The name of the metric to filter against.
public ListMetricsRequest withMetricName(String metricName)
The name of the metric to filter against.
metricName
- The name of the metric to filter against.public List<DimensionFilter> getDimensions()
The dimensions to filter against.
public void setDimensions(Collection<DimensionFilter> dimensions)
The dimensions to filter against.
dimensions
- The dimensions to filter against.public ListMetricsRequest withDimensions(DimensionFilter... dimensions)
The dimensions to filter against.
NOTE: This method appends the values to the existing list (if any). Use
setDimensions(java.util.Collection)
or withDimensions(java.util.Collection)
if you want to
override the existing values.
dimensions
- The dimensions to filter against.public ListMetricsRequest withDimensions(Collection<DimensionFilter> dimensions)
The dimensions to filter against.
dimensions
- The dimensions to filter against.public void setNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken
- The token returned by a previous call to indicate that there is more data available.public String getNextToken()
The token returned by a previous call to indicate that there is more data available.
public ListMetricsRequest withNextToken(String nextToken)
The token returned by a previous call to indicate that there is more data available.
nextToken
- The token returned by a previous call to indicate that there is more data available.public String toString()
toString
in class Object
Object.toString()
public ListMetricsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.