public class GetMetricDataV2Result
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GetMetricDataV2Result() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<MetricResultV2> |
getMetricResults()
Information about the metrics requested in the API request If no grouping
is specified, a summary of metric data is returned.
|
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<MetricResultV2> metricResults)
Information about the metrics requested in the API request If no grouping
is specified, a summary of metric data is returned.
|
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.
|
GetMetricDataV2Result |
withMetricResults(java.util.Collection<MetricResultV2> metricResults)
Information about the metrics requested in the API request If no grouping
is specified, a summary of metric data is returned.
|
GetMetricDataV2Result |
withMetricResults(MetricResultV2... metricResults)
Information about the metrics requested in the API request If no grouping
is specified, a summary of metric data is returned.
|
GetMetricDataV2Result |
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.
Constraints:
Length: 1 - 2500
If there are additional results, this is the token for the next set of results.
public void setNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of results.
Constraints:
Length: 1 - 2500
nextToken - If there are additional results, this is the token for the next set of results.
public GetMetricDataV2Result withNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 2500
nextToken - If there are additional results, this is the token for the next set of results.
public java.util.List<MetricResultV2> getMetricResults()
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
public void setMetricResults(java.util.Collection<MetricResultV2> metricResults)
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
metricResults - Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
public GetMetricDataV2Result withMetricResults(MetricResultV2... metricResults)
Information about the metrics requested in the API request 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 metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
public GetMetricDataV2Result withMetricResults(java.util.Collection<MetricResultV2> metricResults)
Information about the metrics requested in the API request 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 metrics requested in the API request 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.Object