Package com.oracle.bmc.filestorage.model
Enum SnapshotSchedule.DayOfWeek
- java.lang.Object
-
- java.lang.Enum<SnapshotSchedule.DayOfWeek>
-
- com.oracle.bmc.filestorage.model.SnapshotSchedule.DayOfWeek
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SnapshotSchedule.DayOfWeek>
- Enclosing class:
- SnapshotSchedule
public static enum SnapshotSchedule.DayOfWeek extends Enum<SnapshotSchedule.DayOfWeek> implements BmcEnum
The day of the week to create a scheduled snapshot.Used for WEEKLY snapshot schedules. If not set, the system chooses a value at creation time.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotSchedule.DayOfWeek
create(String key)
String
getValue()
static SnapshotSchedule.DayOfWeek
valueOf(String name)
Returns the enum constant of this type with the specified name.static SnapshotSchedule.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 SnapshotSchedule.DayOfWeek Monday
-
Tuesday
public static final SnapshotSchedule.DayOfWeek Tuesday
-
Wednesday
public static final SnapshotSchedule.DayOfWeek Wednesday
-
Thursday
public static final SnapshotSchedule.DayOfWeek Thursday
-
Friday
public static final SnapshotSchedule.DayOfWeek Friday
-
Saturday
public static final SnapshotSchedule.DayOfWeek Saturday
-
Sunday
public static final SnapshotSchedule.DayOfWeek Sunday
-
UnknownEnumValue
public static final SnapshotSchedule.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 SnapshotSchedule.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 (SnapshotSchedule.DayOfWeek c : SnapshotSchedule.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 SnapshotSchedule.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 SnapshotSchedule.DayOfWeek create(String key)
-
-