public static enum UpdateInstanceAvailabilityConfigDetails.RecoveryAction extends Enum<UpdateInstanceAvailabilityConfigDetails.RecoveryAction>
The lifecycle state for an instance when it is recovered after infrastructure maintenance.
RESTORE_INSTANCE - The instance is restored to the lifecycle state it was in before the maintenance event.
If the instance was running, it is automatically rebooted. This is the default action when a value is not set.STOP_INSTANCE - The instance is recovered in the stopped state.| Enum Constant and Description |
|---|
RestoreInstance |
StopInstance |
| Modifier and Type | Method and Description |
|---|---|
static UpdateInstanceAvailabilityConfigDetails.RecoveryAction |
create(String key) |
String |
getValue() |
static UpdateInstanceAvailabilityConfigDetails.RecoveryAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateInstanceAvailabilityConfigDetails.RecoveryAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateInstanceAvailabilityConfigDetails.RecoveryAction RestoreInstance
public static final UpdateInstanceAvailabilityConfigDetails.RecoveryAction StopInstance
public static UpdateInstanceAvailabilityConfigDetails.RecoveryAction[] values()
for (UpdateInstanceAvailabilityConfigDetails.RecoveryAction c : UpdateInstanceAvailabilityConfigDetails.RecoveryAction.values()) System.out.println(c);
public static UpdateInstanceAvailabilityConfigDetails.RecoveryAction 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 String getValue()
public static UpdateInstanceAvailabilityConfigDetails.RecoveryAction create(String key)
Copyright © 2016–2021. All rights reserved.