@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListMetricValuesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListMetricValuesResult() |
Modifier and Type | Method and Description |
---|---|
ListMetricValuesResult |
clone() |
boolean |
equals(Object obj) |
List<MetricDatum> |
getMetricDatumList()
The data the thing reports for the metric during the specified time period.
|
String |
getNextToken()
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
int |
hashCode() |
void |
setMetricDatumList(Collection<MetricDatum> metricDatumList)
The data the thing reports for the metric during the specified time period.
|
void |
setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
String |
toString()
Returns a string representation of this object.
|
ListMetricValuesResult |
withMetricDatumList(Collection<MetricDatum> metricDatumList)
The data the thing reports for the metric during the specified time period.
|
ListMetricValuesResult |
withMetricDatumList(MetricDatum... metricDatumList)
The data the thing reports for the metric during the specified time period.
|
ListMetricValuesResult |
withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or
null if there are no additional
results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MetricDatum> getMetricDatumList()
The data the thing reports for the metric during the specified time period.
public void setMetricDatumList(Collection<MetricDatum> metricDatumList)
The data the thing reports for the metric during the specified time period.
metricDatumList
- The data the thing reports for the metric during the specified time period.public ListMetricValuesResult withMetricDatumList(MetricDatum... metricDatumList)
The data the thing reports for the metric during the specified time period.
NOTE: This method appends the values to the existing list (if any). Use
setMetricDatumList(java.util.Collection)
or withMetricDatumList(java.util.Collection)
if you
want to override the existing values.
metricDatumList
- The data the thing reports for the metric during the specified time period.public ListMetricValuesResult withMetricDatumList(Collection<MetricDatum> metricDatumList)
The data the thing reports for the metric during the specified time period.
metricDatumList
- The data the thing reports for the metric during the specified time period.public void setNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String getNextToken()
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
null
if there are no
additional results.public ListMetricValuesResult withNextToken(String nextToken)
A token that can be used to retrieve the next set of results, or null
if there are no additional
results.
nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no
additional results.public String toString()
toString
in class Object
Object.toString()
public ListMetricValuesResult clone()