|
||||||||||
| 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
List Metrics Result
| Constructor Summary | |
|---|---|
ListMetricsResult()
|
|
| Method Summary | |
|---|---|
List<Metric> |
getMetrics()
Returns the value of the Metrics property for this object. |
String |
getNextToken()
Returns the value of the NextToken property for this object. |
void |
setMetrics(Collection<Metric> metrics)
Sets the value of the Metrics property for this object. |
void |
setNextToken(String nextToken)
Sets the value of the NextToken property for this object. |
String |
toString()
|
ListMetricsResult |
withMetrics(Collection<Metric> metrics)
Sets the value of the Metrics property for this object. |
ListMetricsResult |
withMetrics(Metric... metrics)
Sets the value of the Metrics property for this object. |
ListMetricsResult |
withNextToken(String nextToken)
Sets the value of the NextToken property for this object. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ListMetricsResult()
| Method Detail |
|---|
public List<Metric> getMetrics()
public void setMetrics(Collection<Metric> metrics)
metrics - The new value for the Metrics property for this object.public ListMetricsResult withMetrics(Metric... metrics)
Returns a reference to this object so that method calls can be chained together.
metrics - The new value for the Metrics property for this object.
public ListMetricsResult withMetrics(Collection<Metric> metrics)
Returns a reference to this object so that method calls can be chained together.
metrics - The new value for the Metrics property for this object.
public String getNextToken()
public void setNextToken(String nextToken)
nextToken - The new value for the NextToken property for this object.public ListMetricsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken - The new value for the NextToken property for this object.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||