com.amazonaws.services.cloudwatch.model
Class GetMetricStatisticsResult

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

public class GetMetricStatisticsResult
extends java.lang.Object
implements java.io.Serializable

The output for the GetMetricStatistics action.

See Also:
Serialized Form

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

Constructor Detail

GetMetricStatisticsResult

public GetMetricStatisticsResult()
Method Detail

getLabel

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

Returns:
A label describing the specified metric.

setLabel

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

Parameters:
label - A label describing the specified metric.

withLabel

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.

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 java.util.List<Datapoint> getDatapoints()
The datapoints for the specified metric.

Returns:
The datapoints for the specified metric.

setDatapoints

public void setDatapoints(java.util.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(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.

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 java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


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