Package com.oracle.bmc.filestorage.model
Enum SnapshotSchedule.Period
- java.lang.Object
-
- java.lang.Enum<SnapshotSchedule.Period>
-
- com.oracle.bmc.filestorage.model.SnapshotSchedule.Period
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SnapshotSchedule.Period>
- Enclosing class:
- SnapshotSchedule
public static enum SnapshotSchedule.Period extends Enum<SnapshotSchedule.Period> implements BmcEnum
The frequency of scheduled snapshots.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SnapshotSchedule.Period
create(String key)
String
getValue()
static SnapshotSchedule.Period
valueOf(String name)
Returns the enum constant of this type with the specified name.static SnapshotSchedule.Period[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Hourly
public static final SnapshotSchedule.Period Hourly
-
Daily
public static final SnapshotSchedule.Period Daily
-
Weekly
public static final SnapshotSchedule.Period Weekly
-
Monthly
public static final SnapshotSchedule.Period Monthly
-
Yearly
public static final SnapshotSchedule.Period Yearly
-
UnknownEnumValue
public static final SnapshotSchedule.Period 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.Period[] 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.Period c : SnapshotSchedule.Period.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.Period 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.Period create(String key)
-
-