Enum GiGoalVersionDetails.GoalType
- java.lang.Object
-
- java.lang.Enum<GiGoalVersionDetails.GoalType>
-
- com.oracle.bmc.fleetsoftwareupdate.model.GiGoalVersionDetails.GoalType
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<GiGoalVersionDetails.GoalType>
- Enclosing class:
- GiGoalVersionDetails
public static enum GiGoalVersionDetails.GoalType extends Enum<GiGoalVersionDetails.GoalType> implements BmcEnum
Preference to use an Oracle released ‘GI’ software image or a custom ‘GI’ software image.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GiCustomImageGiOracleImageUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GiGoalVersionDetails.GoalTypecreate(String key)StringgetValue()static GiGoalVersionDetails.GoalTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GiGoalVersionDetails.GoalType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GiOracleImage
public static final GiGoalVersionDetails.GoalType GiOracleImage
-
GiCustomImage
public static final GiGoalVersionDetails.GoalType GiCustomImage
-
UnknownEnumValue
public static final GiGoalVersionDetails.GoalType 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 GiGoalVersionDetails.GoalType[] 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 (GiGoalVersionDetails.GoalType c : GiGoalVersionDetails.GoalType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GiGoalVersionDetails.GoalType 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 GiGoalVersionDetails.GoalType create(String key)
-
-