@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:04.306Z") @Stability(value=Experimental) public enum Ec2InstanceAction extends Enum<Ec2InstanceAction>
| Enum Constant and Description |
|---|
REBOOT
(experimental) Reboot the instance.
|
RECOVER
(experimental) Recover the instance.
|
STOP
(experimental) Stop the instance.
|
TERMINATE
(experimental) Terminatethe instance.
|
| Modifier and Type | Method and Description |
|---|---|
static Ec2InstanceAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Ec2InstanceAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Experimental) public static final Ec2InstanceAction STOP
@Stability(value=Experimental) public static final Ec2InstanceAction TERMINATE
@Stability(value=Experimental) public static final Ec2InstanceAction RECOVER
@Stability(value=Experimental) public static final Ec2InstanceAction REBOOT
public static Ec2InstanceAction[] values()
for (Ec2InstanceAction c : Ec2InstanceAction.values()) System.out.println(c);
public static Ec2InstanceAction 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 nullCopyright © 2022. All rights reserved.