java.lang.Object
java.lang.Enum<Dimensions>
com.amazonaws.metrics.internal.cloudwatch.spi.Dimensions
All Implemented Interfaces:
Serializable, Comparable<Dimensions>, java.lang.constant.Constable

public enum Dimensions extends Enum<Dimensions>
Common CloudWatch dimensions defined and used by the request metric transformer providers. Beware that changing the names of these enum literals will affect the metric dimensional names displayed in CloudWatch.
  • Enum Constant Details

    • MetricType

      public static final Dimensions MetricType
      Type of metric such as HttpRequestTime, ClientExecuteTime, etc.
    • RequestType

      public static final Dimensions RequestType
      Type of request such as PutItemRequest, GetMetricStatisticsRequest, etc.
    • Host

      public static final Dimensions Host
      Host used for per-host level metrics with a single metric namespace.
    • JVM

      public static final Dimensions JVM
      JVM used for per-JVM level metrics with a single metric namespace.
  • Method Details

    • values

      public static Dimensions[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Dimensions valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null