Class SimpleMetricType

java.lang.Object
com.amazonaws.metrics.SimpleMetricType
All Implemented Interfaces:
MetricType
Direct Known Subclasses:
S3ServiceMetric, SimpleServiceMetricType

public abstract class SimpleMetricType extends Object implements MetricType
  • Constructor Details

    • SimpleMetricType

      public SimpleMetricType()
  • Method Details

    • name

      public abstract String name()
      Description copied from interface: MetricType
      Non-null name of the metric type. Used to uniquely identify the metric type. Therefore, the name returned must be globally unique across all metric types that implement this interface.
      Specified by:
      name in interface MetricType
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public final String toString()
      Overrides:
      toString in class Object