public class GetCurrentMetricDataResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
GetCurrentMetricDataResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getDataSnapshotTime()
The time at which the metrics were retrieved and cached for pagination.
|
java.util.List<CurrentMetricResult> |
getMetricResults()
Information about the real-time metrics.
|
java.lang.String |
getNextToken()
If there are additional results, this is the token for the next set of
results.
|
int |
hashCode() |
void |
setDataSnapshotTime(java.util.Date dataSnapshotTime)
The time at which the metrics were retrieved and cached for pagination.
|
void |
setMetricResults(java.util.Collection<CurrentMetricResult> metricResults)
Information about the real-time metrics.
|
void |
setNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of
results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetCurrentMetricDataResult |
withDataSnapshotTime(java.util.Date dataSnapshotTime)
The time at which the metrics were retrieved and cached for pagination.
|
GetCurrentMetricDataResult |
withMetricResults(java.util.Collection<CurrentMetricResult> metricResults)
Information about the real-time metrics.
|
GetCurrentMetricDataResult |
withMetricResults(CurrentMetricResult... metricResults)
Information about the real-time metrics.
|
GetCurrentMetricDataResult |
withNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of
results.
|
public java.lang.String getNextToken()
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
public void setNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
nextToken
- If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
public GetCurrentMetricDataResult withNextToken(java.lang.String nextToken)
If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
Returns a reference to this object so that method calls can be chained together.
nextToken
- If there are additional results, this is the token for the next set of results.
The token expires after 5 minutes from the time it is created. Subsequent requests that use the token must use the same request parameters as the request that generated the token.
public java.util.List<CurrentMetricResult> getMetricResults()
Information about the real-time metrics.
Information about the real-time metrics.
public void setMetricResults(java.util.Collection<CurrentMetricResult> metricResults)
Information about the real-time metrics.
metricResults
- Information about the real-time metrics.
public GetCurrentMetricDataResult withMetricResults(CurrentMetricResult... metricResults)
Information about the real-time metrics.
Returns a reference to this object so that method calls can be chained together.
metricResults
- Information about the real-time metrics.
public GetCurrentMetricDataResult withMetricResults(java.util.Collection<CurrentMetricResult> metricResults)
Information about the real-time metrics.
Returns a reference to this object so that method calls can be chained together.
metricResults
- Information about the real-time metrics.
public java.util.Date getDataSnapshotTime()
The time at which the metrics were retrieved and cached for pagination.
The time at which the metrics were retrieved and cached for pagination.
public void setDataSnapshotTime(java.util.Date dataSnapshotTime)
The time at which the metrics were retrieved and cached for pagination.
dataSnapshotTime
- The time at which the metrics were retrieved and cached for pagination.
public GetCurrentMetricDataResult withDataSnapshotTime(java.util.Date dataSnapshotTime)
The time at which the metrics were retrieved and cached for pagination.
Returns a reference to this object so that method calls can be chained together.
dataSnapshotTime
- The time at which the metrics were retrieved and cached for pagination.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.