Enum GiGoalSoftwareComponentDetails.HomePolicy
- java.lang.Object
-
- java.lang.Enum<GiGoalSoftwareComponentDetails.HomePolicy>
-
- com.oracle.bmc.fleetsoftwareupdate.model.GiGoalSoftwareComponentDetails.HomePolicy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<GiGoalSoftwareComponentDetails.HomePolicy>
- Enclosing class:
- GiGoalSoftwareComponentDetails
public static enum GiGoalSoftwareComponentDetails.HomePolicy extends Enum<GiGoalSoftwareComponentDetails.HomePolicy> implements BmcEnum
Goal home policy to use when Staging the Goal Version during patching.CREATE_NEW: Create a new DBHome (for Database Collections) for the specified image or version. USE_EXISTING: All database targets in the same VMCluster or CloudVmCluster will be moved to a shared database home. If an existing home for the selected image or version is not found in the VM Cluster for a target database, then a new home will be created. If more than one existing home for the selected image is found, then the home with the least number of databases will be used. If multiple homes have the least number of databases, then a home will be selected at random.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CreateNew
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.UseExisting
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GiGoalSoftwareComponentDetails.HomePolicy
create(String key)
String
getValue()
static GiGoalSoftwareComponentDetails.HomePolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static GiGoalSoftwareComponentDetails.HomePolicy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CreateNew
public static final GiGoalSoftwareComponentDetails.HomePolicy CreateNew
-
UseExisting
public static final GiGoalSoftwareComponentDetails.HomePolicy UseExisting
-
UnknownEnumValue
public static final GiGoalSoftwareComponentDetails.HomePolicy 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 GiGoalSoftwareComponentDetails.HomePolicy[] 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 (GiGoalSoftwareComponentDetails.HomePolicy c : GiGoalSoftwareComponentDetails.HomePolicy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GiGoalSoftwareComponentDetails.HomePolicy 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 GiGoalSoftwareComponentDetails.HomePolicy create(String key)
-
-