Enum FsuGoalVersionDetails.HomePolicy
- java.lang.Object
-
- java.lang.Enum<FsuGoalVersionDetails.HomePolicy>
-
- com.oracle.bmc.fleetsoftwareupdate.model.FsuGoalVersionDetails.HomePolicy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<FsuGoalVersionDetails.HomePolicy>
- Enclosing class:
- FsuGoalVersionDetails
public static enum FsuGoalVersionDetails.HomePolicy extends Enum<FsuGoalVersionDetails.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 FsuGoalVersionDetails.HomePolicy
create(String key)
String
getValue()
static FsuGoalVersionDetails.HomePolicy
valueOf(String name)
Returns the enum constant of this type with the specified name.static FsuGoalVersionDetails.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 FsuGoalVersionDetails.HomePolicy CreateNew
-
UseExisting
public static final FsuGoalVersionDetails.HomePolicy UseExisting
-
UnknownEnumValue
public static final FsuGoalVersionDetails.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 FsuGoalVersionDetails.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 (FsuGoalVersionDetails.HomePolicy c : FsuGoalVersionDetails.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 FsuGoalVersionDetails.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 FsuGoalVersionDetails.HomePolicy create(String key)
-
-