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 SummaryEnum Constants Enum Constant Description CreateNewUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.UseExisting
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FsuGoalVersionDetails.HomePolicycreate(String key)StringgetValue()static FsuGoalVersionDetails.HomePolicyvalueOf(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- 
CreateNewpublic static final FsuGoalVersionDetails.HomePolicy CreateNew 
 - 
UseExistingpublic static final FsuGoalVersionDetails.HomePolicy UseExisting 
 - 
UnknownEnumValuepublic 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- 
valuespublic 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
 
 - 
valueOfpublic 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 name
- NullPointerException- if the argument is null
 
 - 
createpublic static FsuGoalVersionDetails.HomePolicy create(String key) 
 
- 
 
-