Enum RequestMetricTransformer.Utils
- java.lang.Object
-
- java.lang.Enum<RequestMetricTransformer.Utils>
-
- com.amazonaws.metrics.internal.cloudwatch.spi.RequestMetricTransformer.Utils
-
- All Implemented Interfaces:
Serializable
,Comparable<RequestMetricTransformer.Utils>
- Enclosing interface:
- RequestMetricTransformer
public static enum RequestMetricTransformer.Utils extends Enum<RequestMetricTransformer.Utils>
Common utilities for implementing this SPI.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
endTimeMilli(TimingInfo ti)
static Date
endTimestamp(TimingInfo ti)
static RequestMetricTransformer.Utils
valueOf(String name)
Returns the enum constant of this type with the specified name.static RequestMetricTransformer.Utils[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Method Detail
-
values
public static RequestMetricTransformer.Utils[] 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 (RequestMetricTransformer.Utils c : RequestMetricTransformer.Utils.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RequestMetricTransformer.Utils 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
-
endTimeMilli
public static long endTimeMilli(TimingInfo ti)
-
endTimestamp
public static Date endTimestamp(TimingInfo ti)
-
-