Package com.exoscale.sdk.model
Enum DbaasServiceMaintenance.DowEnum
- java.lang.Object
-
- java.lang.Enum<DbaasServiceMaintenance.DowEnum>
-
- com.exoscale.sdk.model.DbaasServiceMaintenance.DowEnum
-
- All Implemented Interfaces:
Serializable
,Comparable<DbaasServiceMaintenance.DowEnum>
- Enclosing class:
- DbaasServiceMaintenance
public static enum DbaasServiceMaintenance.DowEnum extends Enum<DbaasServiceMaintenance.DowEnum>
Day of week for installing updates
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DbaasServiceMaintenance.DowEnum
fromValue(String value)
String
getValue()
String
toString()
static DbaasServiceMaintenance.DowEnum
valueOf(String name)
Returns the enum constant of this type with the specified name.static DbaasServiceMaintenance.DowEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SATURDAY
public static final DbaasServiceMaintenance.DowEnum SATURDAY
-
TUESDAY
public static final DbaasServiceMaintenance.DowEnum TUESDAY
-
NEVER
public static final DbaasServiceMaintenance.DowEnum NEVER
-
WEDNESDAY
public static final DbaasServiceMaintenance.DowEnum WEDNESDAY
-
SUNDAY
public static final DbaasServiceMaintenance.DowEnum SUNDAY
-
FRIDAY
public static final DbaasServiceMaintenance.DowEnum FRIDAY
-
MONDAY
public static final DbaasServiceMaintenance.DowEnum MONDAY
-
THURSDAY
public static final DbaasServiceMaintenance.DowEnum THURSDAY
-
-
Method Detail
-
values
public static DbaasServiceMaintenance.DowEnum[] 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 (DbaasServiceMaintenance.DowEnum c : DbaasServiceMaintenance.DowEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DbaasServiceMaintenance.DowEnum 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<DbaasServiceMaintenance.DowEnum>
-
fromValue
public static DbaasServiceMaintenance.DowEnum fromValue(String value)
-
-