public static enum TagMetadata.TagUnit extends Enum<TagMetadata.TagUnit> implements BmcEnum
Unit associated with the tag key.
Enum Constant and Description |
---|
Bytes |
Count |
DurationMs |
EpochTimeMs |
None |
Percentage |
TraceStatus |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static TagMetadata.TagUnit |
create(String key) |
String |
getValue() |
static TagMetadata.TagUnit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TagMetadata.TagUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TagMetadata.TagUnit EpochTimeMs
public static final TagMetadata.TagUnit Bytes
public static final TagMetadata.TagUnit Count
public static final TagMetadata.TagUnit DurationMs
public static final TagMetadata.TagUnit TraceStatus
public static final TagMetadata.TagUnit Percentage
public static final TagMetadata.TagUnit None
public static final TagMetadata.TagUnit UnknownEnumValue
public static TagMetadata.TagUnit[] values()
for (TagMetadata.TagUnit c : TagMetadata.TagUnit.values()) System.out.println(c);
public static TagMetadata.TagUnit 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 nullpublic static TagMetadata.TagUnit create(String key)
Copyright © 2016–2025. All rights reserved.