@Generated(value="jsii-pacmak/1.73.0 (build 6faeda3)", date="2023-01-31T18:36:58.584Z") public enum LifecycleTransition extends java.lang.Enum<LifecycleTransition>
Enum Constant and Description |
---|
INSTANCE_LAUNCHING
Execute the hook when an instance is about to be added.
|
INSTANCE_TERMINATING
Execute the hook when an instance is about to be terminated.
|
Modifier and Type | Method and Description |
---|---|
static LifecycleTransition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LifecycleTransition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LifecycleTransition INSTANCE_LAUNCHING
public static final LifecycleTransition INSTANCE_TERMINATING
public static LifecycleTransition[] values()
for (LifecycleTransition c : LifecycleTransition.values()) System.out.println(c);
public static LifecycleTransition valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null