org.jclouds.cloudwatch.domain
Class GetMetricStatisticsResponse

java.lang.Object
  extended by com.google.common.collect.ForwardingObject
      extended by com.google.common.collect.ForwardingCollection<E>
          extended by com.google.common.collect.ForwardingSet<Datapoint>
              extended by org.jclouds.cloudwatch.domain.GetMetricStatisticsResponse
All Implemented Interfaces:
Iterable<Datapoint>, Collection<Datapoint>, Set<Datapoint>

public class GetMetricStatisticsResponse
extends com.google.common.collect.ForwardingSet<Datapoint>

the list of Datapoint for the metric

Author:
Jeremy Whitlock
See Also:

Constructor Summary
GetMetricStatisticsResponse(Set<Datapoint> datapoints, String label)
           
 
Method Summary
protected  Set<Datapoint> delegate()
           
 boolean equals(Object obj)
          
 String getLabel()
          return the label describing the specified metric
 int hashCode()
          
 String toString()
          
 
Methods inherited from class com.google.common.collect.ForwardingSet
standardEquals, standardHashCode, standardRemoveAll
 
Methods inherited from class com.google.common.collect.ForwardingCollection
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, standardAddAll, standardClear, standardContains, standardContainsAll, standardIsEmpty, standardRemove, standardRetainAll, standardToArray, standardToArray, standardToString, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

GetMetricStatisticsResponse

public GetMetricStatisticsResponse(@Nullable
                                   Set<Datapoint> datapoints,
                                   String label)
Method Detail

getLabel

public String getLabel()
return the label describing the specified metric


hashCode

public int hashCode()

Specified by:
hashCode in interface Collection<Datapoint>
Specified by:
hashCode in interface Set<Datapoint>
Overrides:
hashCode in class com.google.common.collect.ForwardingSet<Datapoint>

equals

public boolean equals(Object obj)

Specified by:
equals in interface Collection<Datapoint>
Specified by:
equals in interface Set<Datapoint>
Overrides:
equals in class com.google.common.collect.ForwardingSet<Datapoint>

toString

public String toString()

Overrides:
toString in class com.google.common.collect.ForwardingObject

delegate

protected Set<Datapoint> delegate()
Overrides:
delegate in class com.google.common.collect.ForwardingSet<Datapoint>


Copyright © 2009-2012 jclouds. All Rights Reserved.