Package com.oracle.bmc.database.model
Enum CreateDatabaseDetails.DbWorkload
- java.lang.Object
-
- java.lang.Enum<CreateDatabaseDetails.DbWorkload>
-
- com.oracle.bmc.database.model.CreateDatabaseDetails.DbWorkload
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateDatabaseDetails.DbWorkload>
- Enclosing class:
- CreateDatabaseDetails
public static enum CreateDatabaseDetails.DbWorkload extends Enum<CreateDatabaseDetails.DbWorkload> implements BmcEnum
Deprecated. The dbWorkload field has been deprecated for Exadata Database Service on Dedicated Infrastructure, Exadata Database Service on Cloud@Customer, and Base Database Service.Support for this attribute will end in November 2023. You may choose to update your custom scripts to exclude the dbWorkload attribute. After November 2023 if you pass a value to the dbWorkload attribute, it will be ignored.
The database workload type.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateDatabaseDetails.DbWorkload
create(String key)
String
getValue()
static CreateDatabaseDetails.DbWorkload
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateDatabaseDetails.DbWorkload[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Oltp
public static final CreateDatabaseDetails.DbWorkload Oltp
-
Dss
public static final CreateDatabaseDetails.DbWorkload Dss
-
-
Method Detail
-
values
public static CreateDatabaseDetails.DbWorkload[] 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 (CreateDatabaseDetails.DbWorkload c : CreateDatabaseDetails.DbWorkload.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateDatabaseDetails.DbWorkload 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 CreateDatabaseDetails.DbWorkload create(String key)
-
-