Package com.exoscale.sdk.model
Enum EnumDatadogSite
- java.lang.Object
-
- java.lang.Enum<EnumDatadogSite>
-
- com.exoscale.sdk.model.EnumDatadogSite
-
- All Implemented Interfaces:
Serializable
,Comparable<EnumDatadogSite>
public enum EnumDatadogSite extends Enum<EnumDatadogSite>
Gets or Sets enum-datadog-site
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AP1_DATADOGHQ_COM
DATADOGHQ_COM
DATADOGHQ_EU
DDOG_GOV_COM
US3_DATADOGHQ_COM
US5_DATADOGHQ_COM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnumDatadogSite
fromValue(String value)
String
getValue()
String
toString()
String
toUrlQueryString(String prefix)
Convert the instance into URL query string.static EnumDatadogSite
valueOf(String name)
Returns the enum constant of this type with the specified name.static EnumDatadogSite[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
US3_DATADOGHQ_COM
public static final EnumDatadogSite US3_DATADOGHQ_COM
-
DDOG_GOV_COM
public static final EnumDatadogSite DDOG_GOV_COM
-
DATADOGHQ_EU
public static final EnumDatadogSite DATADOGHQ_EU
-
US5_DATADOGHQ_COM
public static final EnumDatadogSite US5_DATADOGHQ_COM
-
AP1_DATADOGHQ_COM
public static final EnumDatadogSite AP1_DATADOGHQ_COM
-
DATADOGHQ_COM
public static final EnumDatadogSite DATADOGHQ_COM
-
-
Method Detail
-
values
public static EnumDatadogSite[] 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 (EnumDatadogSite c : EnumDatadogSite.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnumDatadogSite 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
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toString
in classEnum<EnumDatadogSite>
-
fromValue
public static EnumDatadogSite fromValue(String value)
-
-