public class GetMetricStatisticsResult extends Object implements Serializable
The output for the GetMetricStatistics action.
Constructor and Description |
---|
GetMetricStatisticsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Datapoint> |
getDatapoints()
The datapoints for the specified metric.
|
String |
getLabel()
A label describing the specified metric.
|
int |
hashCode() |
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.
|
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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.