|
|||||||
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 | |
---|---|
boolean |
equals(Object obj)
|
List<Metric> |
getMetrics()
A list of metrics used to generate statistics for an AWS account. |
String |
getNextToken()
A string that marks the start of the next batch of returned results. |
int |
hashCode()
|
void |
setMetrics(Collection<Metric> metrics)
A list of metrics used to generate statistics for an AWS account. |
void |
setNextToken(String nextToken)
A string that marks the start of the next batch of returned results. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ListMetricsResult |
withMetrics(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(String nextToken)
A string that marks the start of the next batch of returned results. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ListMetricsResult()
Method Detail |
---|
public List<Metric> getMetrics()
public void setMetrics(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(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 String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A string that marks the start of the next batch of returned results.public ListMetricsResult withNextToken(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 String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |