Enum Datafile.LostWriteProtect
- java.lang.Object
-
- java.lang.Enum<Datafile.LostWriteProtect>
-
- com.oracle.bmc.databasemanagement.model.Datafile.LostWriteProtect
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Datafile.LostWriteProtect>
- Enclosing class:
- Datafile
public static enum Datafile.LostWriteProtect extends Enum<Datafile.LostWriteProtect> implements BmcEnum
The lost write protection status of the file.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Enabled
ProtectOff
Suspend
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Datafile.LostWriteProtect
create(String key)
String
getValue()
static Datafile.LostWriteProtect
valueOf(String name)
Returns the enum constant of this type with the specified name.static Datafile.LostWriteProtect[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Enabled
public static final Datafile.LostWriteProtect Enabled
-
ProtectOff
public static final Datafile.LostWriteProtect ProtectOff
-
Suspend
public static final Datafile.LostWriteProtect Suspend
-
UnknownEnumValue
public static final Datafile.LostWriteProtect 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 Datafile.LostWriteProtect[] 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 (Datafile.LostWriteProtect c : Datafile.LostWriteProtect.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Datafile.LostWriteProtect 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 Datafile.LostWriteProtect create(String key)
-
-