Enum Datafile.Status
- java.lang.Object
-
- java.lang.Enum<Datafile.Status>
-
- com.oracle.bmc.databasemanagement.model.Datafile.Status
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<Datafile.Status>
- Enclosing class:
- Datafile
public static enum Datafile.Status extends Enum<Datafile.Status> implements BmcEnum
The status of the file.INVALID status is used when the file number is not in use, for example, a file in a tablespace that was removed.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Datafile.Status
create(String key)
String
getValue()
static Datafile.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static Datafile.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Available
public static final Datafile.Status Available
-
Invalid
public static final Datafile.Status Invalid
-
Offline
public static final Datafile.Status Offline
-
Online
public static final Datafile.Status Online
-
Unknown
public static final Datafile.Status Unknown
-
UnknownEnumValue
public static final Datafile.Status 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.Status[] 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.Status c : Datafile.Status.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.Status 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.Status create(String key)
-
-