* If there are additional results, this is the token for the next set of results. *
*/ private String nextToken; /** ** Information about the metrics requested in the API request If no grouping is specified, a summary of metric data * is returned. *
*/ private java.util.List* If there are additional results, this is the token for the next set of results. *
* * @param nextToken * If there are additional results, this is the token for the next set of results. */ public void setNextToken(String nextToken) { this.nextToken = nextToken; } /** ** If there are additional results, this is the token for the next set of results. *
* * @return If there are additional results, this is the token for the next set of results. */ public String getNextToken() { return this.nextToken; } /** ** If there are additional results, this is the token for the next set of results. *
* * @param nextToken * If there are additional results, this is the token for the next set of results. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMetricDataV2Result withNextToken(String nextToken) { setNextToken(nextToken); return this; } /** ** Information about the metrics requested in the API request If no grouping is specified, a summary of metric data * is returned. *
* * @return Information about the metrics requested in the API request If no grouping is specified, a summary of * metric data is returned. */ public java.util.List* Information about the metrics requested in the API request If no grouping is specified, a summary of metric data * is returned. *
* * @param metricResults * 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* 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 * {@link #setMetricResults(java.util.Collection)} or {@link #withMetricResults(java.util.Collection)} if you want * to override the existing values. *
* * @param metricResults * Information about the metrics requested in the API request If no grouping is specified, a summary of * metric data is returned. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMetricDataV2Result withMetricResults(MetricResultV2... metricResults) { if (this.metricResults == null) { setMetricResults(new java.util.ArrayList* Information about the metrics requested in the API request If no grouping is specified, a summary of metric data * is returned. *
* * @param metricResults * Information about the metrics requested in the API request If no grouping is specified, a summary of * metric data is returned. * @return Returns a reference to this object so that method calls can be chained together. */ public GetMetricDataV2Result withMetricResults(java.util.Collection