Enum TablespaceStorageSize.Unit
- java.lang.Object
-
- java.lang.Enum<TablespaceStorageSize.Unit>
-
- com.oracle.bmc.databasemanagement.model.TablespaceStorageSize.Unit
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<TablespaceStorageSize.Unit>
- Enclosing class:
- TablespaceStorageSize
public static enum TablespaceStorageSize.Unit extends Enum<TablespaceStorageSize.Unit> implements BmcEnum
Storage size unit: bytes, kilobytes, megabytes, gigabytes, or terabytes.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TablespaceStorageSize.Unit
create(String key)
String
getValue()
static TablespaceStorageSize.Unit
valueOf(String name)
Returns the enum constant of this type with the specified name.static TablespaceStorageSize.Unit[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Bytes
public static final TablespaceStorageSize.Unit Bytes
-
Kilobytes
public static final TablespaceStorageSize.Unit Kilobytes
-
Megabytes
public static final TablespaceStorageSize.Unit Megabytes
-
Gigabytes
public static final TablespaceStorageSize.Unit Gigabytes
-
Terabytes
public static final TablespaceStorageSize.Unit Terabytes
-
-
Method Detail
-
values
public static TablespaceStorageSize.Unit[] 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 (TablespaceStorageSize.Unit c : TablespaceStorageSize.Unit.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TablespaceStorageSize.Unit 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 TablespaceStorageSize.Unit create(String key)
-
-