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