@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMetricDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMetricDataResult() |
Modifier and Type | Method and Description |
---|---|
GetMetricDataResult |
clone() |
boolean |
equals(Object obj) |
List<HistoricalMetricResult> |
getMetricResults()
A list of
HistoricalMetricResult objects, organized by Dimensions , which is the ID of
the resource specified in the Filters used for the request. |
String |
getNextToken()
A string returned in the response.
|
int |
hashCode() |
void |
setMetricResults(Collection<HistoricalMetricResult> metricResults)
A list of
HistoricalMetricResult objects, organized by Dimensions , which is the ID of
the resource specified in the Filters used for the request. |
void |
setNextToken(String nextToken)
A string returned in the response.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetMetricDataResult |
withMetricResults(Collection<HistoricalMetricResult> metricResults)
A list of
HistoricalMetricResult objects, organized by Dimensions , which is the ID of
the resource specified in the Filters used for the request. |
GetMetricDataResult |
withMetricResults(HistoricalMetricResult... metricResults)
A list of
HistoricalMetricResult objects, organized by Dimensions , which is the ID of
the resource specified in the Filters used for the request. |
GetMetricDataResult |
withNextToken(String nextToken)
A string returned in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.
nextToken
- A string returned in the response. Use the value returned in the response as the value of the NextToken in
a subsequent request to retrieve the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.
public String getNextToken()
A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.
public GetMetricDataResult withNextToken(String nextToken)
A string returned in the response. Use the value returned in the response as the value of the NextToken in a subsequent request to retrieve the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.
nextToken
- A string returned in the response. Use the value returned in the response as the value of the NextToken in
a subsequent request to retrieve the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the NextToken must use the same request parameters as the request that generated the token.
public List<HistoricalMetricResult> getMetricResults()
A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the ID of
the resource specified in the Filters
used for the request. The metrics are combined with the
metrics included in Collections
, which is a list of HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data for the
HistoricalMetrics
.
HistoricalMetricResult
objects, organized by Dimensions
, which is the
ID of the resource specified in the Filters
used for the request. The metrics are combined
with the metrics included in Collections
, which is a list of
HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data
for the HistoricalMetrics
.
public void setMetricResults(Collection<HistoricalMetricResult> metricResults)
A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the ID of
the resource specified in the Filters
used for the request. The metrics are combined with the
metrics included in Collections
, which is a list of HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data for the
HistoricalMetrics
.
metricResults
- A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the
ID of the resource specified in the Filters
used for the request. The metrics are combined
with the metrics included in Collections
, which is a list of
HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data
for the HistoricalMetrics
.
public GetMetricDataResult withMetricResults(HistoricalMetricResult... metricResults)
A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the ID of
the resource specified in the Filters
used for the request. The metrics are combined with the
metrics included in Collections
, which is a list of HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data for the
HistoricalMetrics
.
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
- A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the
ID of the resource specified in the Filters
used for the request. The metrics are combined
with the metrics included in Collections
, which is a list of
HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data
for the HistoricalMetrics
.
public GetMetricDataResult withMetricResults(Collection<HistoricalMetricResult> metricResults)
A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the ID of
the resource specified in the Filters
used for the request. The metrics are combined with the
metrics included in Collections
, which is a list of HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data for the
HistoricalMetrics
.
metricResults
- A list of HistoricalMetricResult
objects, organized by Dimensions
, which is the
ID of the resource specified in the Filters
used for the request. The metrics are combined
with the metrics included in Collections
, which is a list of
HisotricalMetricData
objects.
If no Grouping
is specified in the request, Collections
includes summary data
for the HistoricalMetrics
.
public String toString()
toString
in class Object
Object.toString()
public GetMetricDataResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.