Class GetMetricStatisticsResult
java.lang.Object
com.amazonaws.services.cloudwatch.model.GetMetricStatisticsResult
- All Implemented Interfaces:
Serializable
,Cloneable
The output for the GetMetricStatistics action.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The datapoints for the specified metric.getLabel()
A label describing the specified metric.int
hashCode()
void
setDatapoints
(Collection<Datapoint> datapoints) The datapoints for the specified metric.void
A label describing the specified metric.toString()
Returns a string representation of this object; useful for testing and debugging.withDatapoints
(Datapoint... datapoints) The datapoints for the specified metric.withDatapoints
(Collection<Datapoint> datapoints) The datapoints for the specified metric.A label describing the specified metric.
-
Constructor Details
-
GetMetricStatisticsResult
public GetMetricStatisticsResult()
-
-
Method Details
-
setLabel
A label describing the specified metric.
- Parameters:
label
- A label describing the specified metric.
-
getLabel
A label describing the specified metric.
- Returns:
- A label describing the specified metric.
-
withLabel
A label describing the specified metric.
- Parameters:
label
- A label describing the specified metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDatapoints
The datapoints for the specified metric.
- Returns:
- The datapoints for the specified metric.
-
setDatapoints
The datapoints for the specified metric.
- Parameters:
datapoints
- The datapoints for the specified metric.
-
withDatapoints
The datapoints for the specified metric.
NOTE: This method appends the values to the existing list (if any). Use
setDatapoints(java.util.Collection)
orwithDatapoints(java.util.Collection)
if you want to override the existing values.- Parameters:
datapoints
- The datapoints for the specified metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDatapoints
The datapoints for the specified metric.
- Parameters:
datapoints
- The datapoints for the specified metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-