com.xerox.amazonws.monitoring
Class Metric

java.lang.Object
  extended by com.xerox.amazonws.monitoring.Metric

public class Metric
extends Object

An instance of this class represents a Metric


Nested Class Summary
 class Metric.Dimension
           
 
Constructor Summary
Metric(String name, String namespace)
           
 
Method Summary
 Metric.Dimension addDimension(String name, String value)
           
 List<Metric.Dimension> getDimensions()
           
 String getName()
           
 String getNamespace()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Metric

public Metric(String name,
              String namespace)
Method Detail

getName

public String getName()

getDimensions

public List<Metric.Dimension> getDimensions()

getNamespace

public String getNamespace()

addDimension

public Metric.Dimension addDimension(String name,
                                     String value)

toString

public String toString()
Overrides:
toString in class Object