@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMetricDataV2Result extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMetricDataV2Result() |
Modifier and Type | Method and Description |
---|---|
GetMetricDataV2Result |
clone() |
boolean |
equals(Object obj) |
List<MetricResultV2> |
getMetricResults()
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data
is returned.
|
String |
getNextToken()
If there are additional results, this is the token for the next set of results.
|
int |
hashCode() |
void |
setMetricResults(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(String nextToken)
If there are additional results, this is the token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
GetMetricDataV2Result |
withMetricResults(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(String nextToken)
If there are additional results, this is the token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public String getNextToken()
If there are additional results, this is the token for the next set of results.
public GetMetricDataV2Result withNextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken
- If there are additional results, this is the token for the next set of results.public List<MetricResultV2> getMetricResults()
Information about the metrics requested in the API request If no grouping is specified, a summary of metric data is returned.
public void setMetricResults(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.
NOTE: This method appends the values to the existing list (if any). Use
setMetricResults(java.util.Collection)
or withMetricResults(java.util.Collection)
if you want
to override the existing values.
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(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 String toString()
toString
in class Object
Object.toString()
public GetMetricDataV2Result clone()