Package com.oracle.bmc.filestorage.model
Enum SnapshotSchedule.Month
- java.lang.Object
-
- java.lang.Enum<SnapshotSchedule.Month>
-
- com.oracle.bmc.filestorage.model.SnapshotSchedule.Month
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SnapshotSchedule.Month>
- Enclosing class:
- SnapshotSchedule
public static enum SnapshotSchedule.Month extends Enum<SnapshotSchedule.Month> implements BmcEnum
The month to create a scheduled snapshot.Used only for YEARLY 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.Month
create(String key)
String
getValue()
static SnapshotSchedule.Month
valueOf(String name)
Returns the enum constant of this type with the specified name.static SnapshotSchedule.Month[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
January
public static final SnapshotSchedule.Month January
-
February
public static final SnapshotSchedule.Month February
-
March
public static final SnapshotSchedule.Month March
-
April
public static final SnapshotSchedule.Month April
-
May
public static final SnapshotSchedule.Month May
-
June
public static final SnapshotSchedule.Month June
-
July
public static final SnapshotSchedule.Month July
-
August
public static final SnapshotSchedule.Month August
-
September
public static final SnapshotSchedule.Month September
-
October
public static final SnapshotSchedule.Month October
-
November
public static final SnapshotSchedule.Month November
-
December
public static final SnapshotSchedule.Month December
-
UnknownEnumValue
public static final SnapshotSchedule.Month 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.Month[] 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.Month c : SnapshotSchedule.Month.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.Month 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.Month create(String key)
-
-