Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.cloudwatch.model
Class GetMetricStatisticsResult

java.lang.Object
  extended by com.amazonaws.services.cloudwatch.model.GetMetricStatisticsResult
All Implemented Interfaces:
Serializable

public class GetMetricStatisticsResult
extends Object
implements Serializable

The output for the GetMetricStatistics action.

See Also:
Serialized Form

Constructor Summary
GetMetricStatisticsResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GetMetricStatisticsResult

public GetMetricStatisticsResult()
Method Detail

getLabel

public String getLabel()
A label describing the specified metric.

Returns:
A label describing the specified metric.

setLabel

public void setLabel(String label)
A label describing the specified metric.

Parameters:
label - A label describing the specified metric.

withLabel

public GetMetricStatisticsResult withLabel(String label)
A label describing the specified metric.

Returns a reference to this object so that method calls can be chained together.

Parameters:
label - A label describing the specified metric.
Returns:
A reference to this updated object so that method calls can be chained together.

getDatapoints

public List<Datapoint> getDatapoints()
The datapoints for the specified metric.

Returns:
The datapoints for the specified metric.

setDatapoints

public void setDatapoints(Collection<Datapoint> datapoints)
The datapoints for the specified metric.

Parameters:
datapoints - The datapoints for the specified metric.

withDatapoints

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.

Parameters:
datapoints - The datapoints for the specified metric.
Returns:
A reference to this updated object so that method calls can be chained together.

withDatapoints

public GetMetricStatisticsResult withDatapoints(Collection<Datapoint> datapoints)
The datapoints for the specified metric.

Returns a reference to this object so that method calls can be chained together.

Parameters:
datapoints - The datapoints for the specified metric.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.