public class GetMetricDataResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description | 
|---|
GetMetricDataResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)  | 
java.util.List<HistoricalMetricResult> | 
getMetricResults()
 Information about the historical metrics. 
 | 
java.lang.String | 
getNextToken()
 If there are additional results, this is the token for the next set of
 results. 
 | 
int | 
hashCode()  | 
void | 
setMetricResults(java.util.Collection<HistoricalMetricResult> metricResults)
 Information about the historical metrics. 
 | 
void | 
setNextToken(java.lang.String nextToken)
 If there are additional results, this is the token for the next set of
 results. 
 | 
java.lang.String | 
toString()
Returns a string representation of this object; useful for testing and
 debugging. 
 | 
GetMetricDataResult | 
withMetricResults(java.util.Collection<HistoricalMetricResult> metricResults)
 Information about the historical metrics. 
 | 
GetMetricDataResult | 
withMetricResults(HistoricalMetricResult... metricResults)
 Information about the historical metrics. 
 | 
GetMetricDataResult | 
withNextToken(java.lang.String nextToken)
 If there are additional results, this is the token for the next set of
 results. 
 | 
public java.lang.String getNextToken()
If there are additional results, this is the token for 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.
If there are additional results, this is the token for 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 setNextToken(java.lang.String nextToken)
If there are additional results, this is the token for 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 - If there are additional results, this is the token for 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 GetMetricDataResult withNextToken(java.lang.String nextToken)
If there are additional results, this is the token for 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.
Returns a reference to this object so that method calls can be chained together.
nextToken - If there are additional results, this is the token for 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 java.util.List<HistoricalMetricResult> getMetricResults()
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
public void setMetricResults(java.util.Collection<HistoricalMetricResult> metricResults)
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
metricResults - Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
public GetMetricDataResult withMetricResults(HistoricalMetricResult... metricResults)
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
Returns a reference to this object so that method calls can be chained together.
metricResults - Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
public GetMetricDataResult withMetricResults(java.util.Collection<HistoricalMetricResult> metricResults)
Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
Returns a reference to this object so that method calls can be chained together.
metricResults - Information about the historical metrics.
If no grouping is specified, a summary of metric data is returned.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.