|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.cloudwatch.model.GetMetricStatisticsResult
public class GetMetricStatisticsResult
The output for the GetMetricStatistics action.
Constructor Summary | |
---|---|
GetMetricStatisticsResult()
|
Method Summary | |
---|---|
List<Datapoint> |
getDatapoints()
The datapoints for the specified metric. |
String |
getLabel()
A label describing the specified metric. |
void |
setDatapoints(Collection<Datapoint> datapoints)
The datapoints for the specified metric. |
void |
setLabel(String label)
A label describing the specified metric. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
GetMetricStatisticsResult |
withDatapoints(Collection<Datapoint> datapoints)
The datapoints for the specified metric. |
GetMetricStatisticsResult |
withDatapoints(Datapoint... datapoints)
The datapoints for the specified metric. |
GetMetricStatisticsResult |
withLabel(String label)
A label describing the specified metric. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GetMetricStatisticsResult()
Method Detail |
---|
public String getLabel()
public void setLabel(String label)
label
- A label describing the specified metric.public GetMetricStatisticsResult withLabel(String label)
Returns a reference to this object so that method calls can be chained together.
label
- A label describing the specified metric.
public List<Datapoint> getDatapoints()
public void setDatapoints(Collection<Datapoint> datapoints)
datapoints
- The datapoints for the specified metric.public GetMetricStatisticsResult withDatapoints(Datapoint... datapoints)
Returns a reference to this object so that method calls can be chained together.
datapoints
- The datapoints for the specified metric.
public GetMetricStatisticsResult withDatapoints(Collection<Datapoint> datapoints)
Returns a reference to this object so that method calls can be chained together.
datapoints
- The datapoints for the specified metric.
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |