org.jclouds.cloudwatch.domain
Class ListMetricsResponse

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<Metric>
              extended by org.jclouds.cloudwatch.domain.ListMetricsResponse
All Implemented Interfaces:
Iterable<Metric>, Collection<Metric>, Set<Metric>

public class ListMetricsResponse
extends com.google.common.collect.ForwardingSet<Metric>

list of Metric

See Also:

Constructor Summary
ListMetricsResponse(Set<Metric> metrics, String nextToken)
           
 
Method Summary
protected  Set<Metric> delegate()
           
 boolean equals(Object obj)
          
 String getNextToken()
          return the next token or null if there is none.
 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

ListMetricsResponse

public ListMetricsResponse(@Nullable
                           Set<Metric> metrics,
                           @Nullable
                           String nextToken)
Method Detail

getNextToken

@Nullable
public String getNextToken()
return the next token or null if there is none.


hashCode

public int hashCode()

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

equals

public boolean equals(Object obj)

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

toString

public String toString()

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

delegate

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


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.