public static enum InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction extends Enum<InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction> implements BmcEnum
The preferred maintenance action for an instance. The default is LIVE_MIGRATE, if live
migration is supported. * LIVE_MIGRATE
- Run maintenance using a live migration. *
REBOOT
- Run maintenance using a reboot.
Enum Constant and Description |
---|
LiveMigrate |
Reboot |
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by
this version of the SDK.
|
Modifier and Type | Method and Description |
---|---|
static InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction |
create(String key) |
String |
getValue() |
static InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction LiveMigrate
public static final InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction Reboot
public static final InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction UnknownEnumValue
public static InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction[] values()
for (InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction c : InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction.values()) System.out.println(c);
public static InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static InstanceConfigurationLaunchInstanceDetails.PreferredMaintenanceAction create(String key)
Copyright © 2016–2023. All rights reserved.