Package com.oracle.bmc.database.model
Enum CreateMaintenanceRunDetails.PatchType
- java.lang.Object
-
- java.lang.Enum<CreateMaintenanceRunDetails.PatchType>
-
- com.oracle.bmc.database.model.CreateMaintenanceRunDetails.PatchType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<CreateMaintenanceRunDetails.PatchType>
- Enclosing class:
- CreateMaintenanceRunDetails
public static enum CreateMaintenanceRunDetails.PatchType extends Enum<CreateMaintenanceRunDetails.PatchType> implements BmcEnum
Patch type, either “QUARTERLY”, “TIMEZONE” or “CUSTOM_DATABASE_SOFTWARE_IMAGE”.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CustomDatabaseSoftwareImage
Quarterly
Timezone
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateMaintenanceRunDetails.PatchType
create(String key)
String
getValue()
static CreateMaintenanceRunDetails.PatchType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CreateMaintenanceRunDetails.PatchType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Quarterly
public static final CreateMaintenanceRunDetails.PatchType Quarterly
-
Timezone
public static final CreateMaintenanceRunDetails.PatchType Timezone
-
CustomDatabaseSoftwareImage
public static final CreateMaintenanceRunDetails.PatchType CustomDatabaseSoftwareImage
-
-
Method Detail
-
values
public static CreateMaintenanceRunDetails.PatchType[] 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 (CreateMaintenanceRunDetails.PatchType c : CreateMaintenanceRunDetails.PatchType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateMaintenanceRunDetails.PatchType 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 CreateMaintenanceRunDetails.PatchType create(String key)
-
-