Enum RunSubState
- java.lang.Object
-
- java.lang.Enum<RunSubState>
-
- com.azure.resourcemanager.imagebuilder.models.RunSubState
-
- All Implemented Interfaces:
Serializable
,Comparable<RunSubState>
public enum RunSubState extends Enum<RunSubState>
Defines values for RunSubState.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUILDING
Enum value Building.CUSTOMIZING
Enum value Customizing.DISTRIBUTING
Enum value Distributing.QUEUED
Enum value Queued.VALIDATING
Enum value Validating.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RunSubState
fromString(String value)
Parses a serialized value to a RunSubState instance.String
toString()
static RunSubState
valueOf(String name)
Returns the enum constant of this type with the specified name.static RunSubState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
QUEUED
public static final RunSubState QUEUED
Enum value Queued.
-
BUILDING
public static final RunSubState BUILDING
Enum value Building.
-
CUSTOMIZING
public static final RunSubState CUSTOMIZING
Enum value Customizing.
-
VALIDATING
public static final RunSubState VALIDATING
Enum value Validating.
-
DISTRIBUTING
public static final RunSubState DISTRIBUTING
Enum value Distributing.
-
-
Method Detail
-
values
public static RunSubState[] 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 (RunSubState c : RunSubState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RunSubState 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
-
fromString
public static RunSubState fromString(String value)
Parses a serialized value to a RunSubState instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed RunSubState object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toString
in classEnum<RunSubState>
-
-