Enum Dimensions
- All Implemented Interfaces:
Serializable
,Comparable<Dimensions>
,java.lang.constant.Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionHost used for per-host level metrics with a single metric namespace.JVM used for per-JVM level metrics with a single metric namespace.Type of metric such as HttpRequestTime, ClientExecuteTime, etc.Type of request such as PutItemRequest, GetMetricStatisticsRequest, etc. -
Method Summary
Modifier and TypeMethodDescriptionstatic Dimensions
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 Details
-
MetricType
Type of metric such as HttpRequestTime, ClientExecuteTime, etc. -
RequestType
Type of request such as PutItemRequest, GetMetricStatisticsRequest, etc. -
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.
-
-
Method Details
-
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
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
-