Enum TagInfo.ContextEnum
- java.lang.Object
-
- java.lang.Enum<TagInfo.ContextEnum>
-
- de.tsystems.mms.apm.performancesignature.dynatracesaas.model.TagInfo.ContextEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<TagInfo.ContextEnum>
- Enclosing class:
- TagInfo
public static enum TagInfo.ContextEnum extends Enum<TagInfo.ContextEnum>
The origin of the tag, like AWS or Cloud Foundry. Custom tags use the `CONTEXTLESS` value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TagInfo.ContextEnum.Adapter
-
Enum Constant Summary
Enum Constants Enum Constant Description AWS
CLOUD_FOUNDRY
CONTEXTLESS
ENVIRONMENT
GOOGLE_CLOUD
KUBERNETES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TagInfo.ContextEnum
fromValue(String text)
String
getValue()
String
toString()
static TagInfo.ContextEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static TagInfo.ContextEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AWS
public static final TagInfo.ContextEnum AWS
-
CLOUD_FOUNDRY
public static final TagInfo.ContextEnum CLOUD_FOUNDRY
-
CONTEXTLESS
public static final TagInfo.ContextEnum CONTEXTLESS
-
ENVIRONMENT
public static final TagInfo.ContextEnum ENVIRONMENT
-
GOOGLE_CLOUD
public static final TagInfo.ContextEnum GOOGLE_CLOUD
-
KUBERNETES
public static final TagInfo.ContextEnum KUBERNETES
-
-
Method Detail
-
values
public static TagInfo.ContextEnum[] 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 (TagInfo.ContextEnum c : TagInfo.ContextEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TagInfo.ContextEnum 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
-
fromValue
public static TagInfo.ContextEnum fromValue(String text)
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<TagInfo.ContextEnum>
-
-