Enum LifeCycleState
- java.lang.Object
-
- java.lang.Enum<LifeCycleState>
-
- software.amazon.awssdk.services.mgn.model.LifeCycleState
-
- All Implemented Interfaces:
Serializable,Comparable<LifeCycleState>
@Generated("software.amazon.awssdk:codegen") public enum LifeCycleState extends Enum<LifeCycleState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CUTOVERCUTTING_OVERDISCONNECTEDDISCOVEREDNOT_READYPENDING_INSTALLATIONREADY_FOR_CUTOVERREADY_FOR_TESTSTOPPEDTESTINGUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LifeCycleStatefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<LifeCycleState>knownValues()StringtoString()static LifeCycleStatevalueOf(String name)Returns the enum constant of this type with the specified name.static LifeCycleState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOPPED
public static final LifeCycleState STOPPED
-
NOT_READY
public static final LifeCycleState NOT_READY
-
READY_FOR_TEST
public static final LifeCycleState READY_FOR_TEST
-
TESTING
public static final LifeCycleState TESTING
-
READY_FOR_CUTOVER
public static final LifeCycleState READY_FOR_CUTOVER
-
CUTTING_OVER
public static final LifeCycleState CUTTING_OVER
-
CUTOVER
public static final LifeCycleState CUTOVER
-
DISCONNECTED
public static final LifeCycleState DISCONNECTED
-
DISCOVERED
public static final LifeCycleState DISCOVERED
-
PENDING_INSTALLATION
public static final LifeCycleState PENDING_INSTALLATION
-
UNKNOWN_TO_SDK_VERSION
public static final LifeCycleState UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static LifeCycleState[] 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 (LifeCycleState c : LifeCycleState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LifeCycleState 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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<LifeCycleState>
-
fromValue
public static LifeCycleState fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- LifeCycleState corresponding to the value
-
knownValues
public static Set<LifeCycleState> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownLifeCycleStates
-
-