|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudwatch.model.ListMetricsResult
public class ListMetricsResult
The output for the ListMetrics action.
Constructor Summary | |
---|---|
ListMetricsResult()
|
Method Summary | |
---|---|
java.util.List<Metric> |
getMetrics()
A list of metrics used to generate statistics for an AWS account. |
java.lang.String |
getNextToken()
A string that marks the start of the next batch of returned results. |
void |
setMetrics(java.util.Collection<Metric> metrics)
A list of metrics used to generate statistics for an AWS account. |
void |
setNextToken(java.lang.String nextToken)
A string that marks the start of the next batch of returned results. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ListMetricsResult |
withMetrics(java.util.Collection<Metric> metrics)
A list of metrics used to generate statistics for an AWS account. |
ListMetricsResult |
withMetrics(Metric... metrics)
A list of metrics used to generate statistics for an AWS account. |
ListMetricsResult |
withNextToken(java.lang.String nextToken)
A string that marks the start of the next batch of returned results. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ListMetricsResult()
Method Detail |
---|
public java.util.List<Metric> getMetrics()
public void setMetrics(java.util.Collection<Metric> metrics)
metrics
- A list of metrics used to generate statistics for an AWS account.public ListMetricsResult withMetrics(Metric... metrics)
Returns a reference to this object so that method calls can be chained together.
metrics
- A list of metrics used to generate statistics for an AWS account.
public ListMetricsResult withMetrics(java.util.Collection<Metric> metrics)
Returns a reference to this object so that method calls can be chained together.
metrics
- A list of metrics used to generate statistics for an AWS account.
public java.lang.String getNextToken()
public void setNextToken(java.lang.String nextToken)
nextToken
- A string that marks the start of the next batch of returned results.public ListMetricsResult withNextToken(java.lang.String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A string that marks the start of the next batch of returned results.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |