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