@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetCurrentMetricDataResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetCurrentMetricDataResult() |
| Modifier and Type | Method and Description |
|---|---|
GetCurrentMetricDataResult |
clone() |
boolean |
equals(Object obj) |
Date |
getDataSnapshotTime()
The time at which
CurrentMetricData was retrieved and cached for pagination. |
List<CurrentMetricResult> |
getMetricResults()
A list of
CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections. |
String |
getNextToken()
A string returned in the response.
|
int |
hashCode() |
void |
setDataSnapshotTime(Date dataSnapshotTime)
The time at which
CurrentMetricData was retrieved and cached for pagination. |
void |
setMetricResults(Collection<CurrentMetricResult> metricResults)
A list of
CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections. |
void |
setNextToken(String nextToken)
A string returned in the response.
|
String |
toString()
Returns a string representation of this object.
|
GetCurrentMetricDataResult |
withDataSnapshotTime(Date dataSnapshotTime)
The time at which
CurrentMetricData was retrieved and cached for pagination. |
GetCurrentMetricDataResult |
withMetricResults(Collection<CurrentMetricResult> metricResults)
A list of
CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections. |
GetCurrentMetricDataResult |
withMetricResults(CurrentMetricResult... metricResults)
A list of
CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections. |
GetCurrentMetricDataResult |
withNextToken(String nextToken)
A string returned in the response.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 GetCurrentMetricDataResult 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<CurrentMetricResult> getMetricResults()
A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to the
CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to
the CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
public void setMetricResults(Collection<CurrentMetricResult> metricResults)
A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to the
CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
metricResults - A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to
the CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
public GetCurrentMetricDataResult withMetricResults(CurrentMetricResult... metricResults)
A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to the
CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric 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 - A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to
the CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
public GetCurrentMetricDataResult withMetricResults(Collection<CurrentMetricResult> metricResults)
A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to the
CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
metricResults - A list of CurrentMetricResult objects organized by Dimensions combining with
CurrentMetricDataCollections.
Dimensions is the resourceId specified in the Filters of the request.
Collections is a list of CurrentMetricData objects with corresponding values to
the CurrentMetrics specified in the request.
If no Grouping is specified in the request, Collections is a summary for the
CurrentMetric returned.
public void setDataSnapshotTime(Date dataSnapshotTime)
The time at which CurrentMetricData was retrieved and cached for pagination.
dataSnapshotTime - The time at which CurrentMetricData was retrieved and cached for pagination.public Date getDataSnapshotTime()
The time at which CurrentMetricData was retrieved and cached for pagination.
CurrentMetricData was retrieved and cached for pagination.public GetCurrentMetricDataResult withDataSnapshotTime(Date dataSnapshotTime)
The time at which CurrentMetricData was retrieved and cached for pagination.
dataSnapshotTime - The time at which CurrentMetricData was retrieved and cached for pagination.public String toString()
toString in class ObjectObject.toString()public GetCurrentMetricDataResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.