Package com.oracle.bmc.bds.model
Enum OsPatchPackageSummary.UpdateType
- java.lang.Object
-
- java.lang.Enum<OsPatchPackageSummary.UpdateType>
-
- com.oracle.bmc.bds.model.OsPatchPackageSummary.UpdateType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<OsPatchPackageSummary.UpdateType>
- Enclosing class:
- OsPatchPackageSummary
public static enum OsPatchPackageSummary.UpdateType extends Enum<OsPatchPackageSummary.UpdateType> implements BmcEnum
The action that current package will be executed on the cluster.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Install
Remove
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Update
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OsPatchPackageSummary.UpdateType
create(String key)
String
getValue()
static OsPatchPackageSummary.UpdateType
valueOf(String name)
Returns the enum constant of this type with the specified name.static OsPatchPackageSummary.UpdateType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Install
public static final OsPatchPackageSummary.UpdateType Install
-
Remove
public static final OsPatchPackageSummary.UpdateType Remove
-
Update
public static final OsPatchPackageSummary.UpdateType Update
-
UnknownEnumValue
public static final OsPatchPackageSummary.UpdateType 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 OsPatchPackageSummary.UpdateType[] 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 (OsPatchPackageSummary.UpdateType c : OsPatchPackageSummary.UpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OsPatchPackageSummary.UpdateType 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 OsPatchPackageSummary.UpdateType create(String key)
-
-