public class GetMetricStatisticsResult
extends java.lang.Object
implements java.io.Serializable
The output for the GetMetricStatistics action.
Constructor and Description |
---|
GetMetricStatisticsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Datapoint> |
getDatapoints()
The datapoints for the specified metric.
|
java.lang.String |
getLabel()
A label describing the specified metric.
|
int |
hashCode() |
void |
setDatapoints(java.util.Collection<Datapoint> datapoints)
The datapoints for the specified metric.
|
void |
setLabel(java.lang.String label)
A label describing the specified metric.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetMetricStatisticsResult |
withDatapoints(java.util.Collection<Datapoint> datapoints)
The datapoints for the specified metric.
|
GetMetricStatisticsResult |
withDatapoints(Datapoint... datapoints)
The datapoints for the specified metric.
|
GetMetricStatisticsResult |
withLabel(java.lang.String label)
A label describing the specified metric.
|
public java.lang.String getLabel()
A label describing the specified metric.
A label describing the specified metric.
public void setLabel(java.lang.String label)
A label describing the specified metric.
label
- A label describing the specified metric.
public GetMetricStatisticsResult withLabel(java.lang.String label)
A label describing the specified metric.
Returns a reference to this object so that method calls can be chained together.
label
- A label describing the specified metric.
public java.util.List<Datapoint> getDatapoints()
The datapoints for the specified metric.
The datapoints for the specified metric.
public void setDatapoints(java.util.Collection<Datapoint> datapoints)
The datapoints for the specified metric.
datapoints
- The datapoints for the specified metric.
public GetMetricStatisticsResult withDatapoints(Datapoint... datapoints)
The datapoints for the specified metric.
Returns a reference to this object so that method calls can be chained together.
datapoints
- The datapoints for the specified metric.
public GetMetricStatisticsResult withDatapoints(java.util.Collection<Datapoint> datapoints)
The datapoints for the specified metric.
Returns a reference to this object so that method calls can be chained together.
datapoints
- The datapoints for the specified metric.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.