public class ListMetricsResult
extends java.lang.Object
implements java.io.Serializable
The output for the ListMetrics action.
| コンストラクタと説明 |
|---|
ListMetricsResult() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.
|
int |
hashCode() |
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.
|
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 クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object