Package com.exoscale.sdk.model
Enum DbaasServiceComponents.RouteEnum
- java.lang.Object
-
- java.lang.Enum<DbaasServiceComponents.RouteEnum>
-
- com.exoscale.sdk.model.DbaasServiceComponents.RouteEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<DbaasServiceComponents.RouteEnum>
- Enclosing class:
- DbaasServiceComponents
public static enum DbaasServiceComponents.RouteEnum extends Enum<DbaasServiceComponents.RouteEnum>
Network access route
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DYNAMIC
PRIVATE
PRIVATELINK
PUBLIC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbaasServiceComponents.RouteEnum
fromValue(String value)
String
getValue()
String
toString()
static DbaasServiceComponents.RouteEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static DbaasServiceComponents.RouteEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DYNAMIC
public static final DbaasServiceComponents.RouteEnum DYNAMIC
-
PRIVATE
public static final DbaasServiceComponents.RouteEnum PRIVATE
-
PUBLIC
public static final DbaasServiceComponents.RouteEnum PUBLIC
-
PRIVATELINK
public static final DbaasServiceComponents.RouteEnum PRIVATELINK
-
-
Method Detail
-
values
public static DbaasServiceComponents.RouteEnum[] 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 (DbaasServiceComponents.RouteEnum c : DbaasServiceComponents.RouteEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbaasServiceComponents.RouteEnum 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<DbaasServiceComponents.RouteEnum>
-
fromValue
public static DbaasServiceComponents.RouteEnum fromValue(String value)
-
-