org.jclouds.cloudwatch.domain
Class Metric

java.lang.Object
  extended by org.jclouds.cloudwatch.domain.Metric

public class Metric
extends Object

Author:
Jeremy Whitlock
See Also:

Constructor Summary
Metric(String metricName, String namespace, Set<Dimension> dimensions)
           
 
Method Summary
 boolean equals(Object obj)
          
 Set<Dimension> getDimensions()
          return the available dimensions for the metric
 String getMetricName()
          return the metric name for the metric.
 String getNamespace()
          return the namespace for the metric
 int hashCode()
          
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Metric

public Metric(String metricName,
              String namespace,
              @Nullable
              Set<Dimension> dimensions)
Method Detail

getMetricName

public String getMetricName()
return the metric name for the metric.


getNamespace

public String getNamespace()
return the namespace for the metric


getDimensions

@Nullable
public Set<Dimension> getDimensions()
return the available dimensions for the metric


hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

toString

public String toString()

Overrides:
toString in class Object


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