@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMetricDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetMetricDataResult() |
| Modifier and Type | Method and Description |
|---|---|
GetMetricDataResult |
clone() |
boolean |
equals(Object obj) |
List<MetricDataResult> |
getMetricDataResults()
The metrics that are returned, including the metric name, namespace, and dimensions.
|
String |
getNextToken()
A token that marks the next batch of returned results.
|
int |
hashCode() |
void |
setMetricDataResults(Collection<MetricDataResult> metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
|
void |
setNextToken(String nextToken)
A token that marks the next batch of returned results.
|
String |
toString()
Returns a string representation of this object.
|
GetMetricDataResult |
withMetricDataResults(Collection<MetricDataResult> metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
|
GetMetricDataResult |
withMetricDataResults(MetricDataResult... metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
|
GetMetricDataResult |
withNextToken(String nextToken)
A token that marks the next batch of returned results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<MetricDataResult> getMetricDataResults()
The metrics that are returned, including the metric name, namespace, and dimensions.
public void setMetricDataResults(Collection<MetricDataResult> metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
metricDataResults - The metrics that are returned, including the metric name, namespace, and dimensions.public GetMetricDataResult withMetricDataResults(MetricDataResult... metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
NOTE: This method appends the values to the existing list (if any). Use
setMetricDataResults(java.util.Collection) or withMetricDataResults(java.util.Collection) if
you want to override the existing values.
metricDataResults - The metrics that are returned, including the metric name, namespace, and dimensions.public GetMetricDataResult withMetricDataResults(Collection<MetricDataResult> metricDataResults)
The metrics that are returned, including the metric name, namespace, and dimensions.
metricDataResults - The metrics that are returned, including the metric name, namespace, and dimensions.public void setNextToken(String nextToken)
A token that marks the next batch of returned results.
nextToken - A token that marks the next batch of returned results.public String getNextToken()
A token that marks the next batch of returned results.
public GetMetricDataResult withNextToken(String nextToken)
A token that marks the next batch of returned results.
nextToken - A token that marks the next batch of returned results.public String toString()
toString in class ObjectObject.toString()public GetMetricDataResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.