Enum Dimensions
- java.lang.Object
-
- java.lang.Enum<Dimensions>
-
- com.amazonaws.metrics.internal.cloudwatch.spi.Dimensions
-
- All Implemented Interfaces:
Serializable
,Comparable<Dimensions>
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 Summary
Enum Constants Enum Constant Description Host
Host used for per-host level metrics with a single metric namespace.JVM
JVM used for per-JVM level metrics with a single metric namespace.MetricType
Type of metric such as HttpRequestTime, ClientExecuteTime, etc.RequestType
Type of request such as PutItemRequest, GetMetricStatisticsRequest, etc.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Dimensions
valueOf(String name)
Returns the enum constant of this type with the specified name.static Dimensions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static Dimensions[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Dimensions c : Dimensions.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
-