@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-07T23:47:07.727Z") @Stability(value=Experimental) public enum MetricType extends Enum<MetricType>
| Enum Constant and Description |
|---|
COUNT
(experimental) An aggregate number.
|
GAUGE
(experimental) A value at a point in time.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final MetricType GAUGE
@Stability(value=Experimental) public static final MetricType COUNT
public static MetricType[] values()
for (MetricType c : MetricType.values()) System.out.println(c);
public static MetricType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.