Package com.oracle.bmc.core.model
Enum VolumeBackupSchedule.DayOfWeek
- java.lang.Object
-
- java.lang.Enum<VolumeBackupSchedule.DayOfWeek>
-
- com.oracle.bmc.core.model.VolumeBackupSchedule.DayOfWeek
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<VolumeBackupSchedule.DayOfWeek>
- Enclosing class:
- VolumeBackupSchedule
public static enum VolumeBackupSchedule.DayOfWeek extends Enum<VolumeBackupSchedule.DayOfWeek> implements BmcEnum
The day of the week to schedule the volume backup.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeBackupSchedule.DayOfWeek
create(String key)
String
getValue()
static VolumeBackupSchedule.DayOfWeek
valueOf(String name)
Returns the enum constant of this type with the specified name.static VolumeBackupSchedule.DayOfWeek[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Monday
public static final VolumeBackupSchedule.DayOfWeek Monday
-
Tuesday
public static final VolumeBackupSchedule.DayOfWeek Tuesday
-
Wednesday
public static final VolumeBackupSchedule.DayOfWeek Wednesday
-
Thursday
public static final VolumeBackupSchedule.DayOfWeek Thursday
-
Friday
public static final VolumeBackupSchedule.DayOfWeek Friday
-
Saturday
public static final VolumeBackupSchedule.DayOfWeek Saturday
-
Sunday
public static final VolumeBackupSchedule.DayOfWeek Sunday
-
UnknownEnumValue
public static final VolumeBackupSchedule.DayOfWeek UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static VolumeBackupSchedule.DayOfWeek[] 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 (VolumeBackupSchedule.DayOfWeek c : VolumeBackupSchedule.DayOfWeek.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VolumeBackupSchedule.DayOfWeek 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
-
create
public static VolumeBackupSchedule.DayOfWeek create(String key)
-
-