Enum MaintenanceOperationResultCodeTypes
- java.lang.Object
-
- java.lang.Enum<MaintenanceOperationResultCodeTypes>
-
- com.azure.resourcemanager.compute.models.MaintenanceOperationResultCodeTypes
-
- All Implemented Interfaces:
Serializable,Comparable<MaintenanceOperationResultCodeTypes>
public enum MaintenanceOperationResultCodeTypes extends Enum<MaintenanceOperationResultCodeTypes>
Defines values for MaintenanceOperationResultCodeTypes.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAINTENANCE_ABORTEDEnum value MaintenanceAborted.MAINTENANCE_COMPLETEDEnum value MaintenanceCompleted.NONEEnum value None.RETRY_LATEREnum value RetryLater.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceOperationResultCodeTypesfromString(String value)Parses a serialized value to a MaintenanceOperationResultCodeTypes instance.StringtoString()static MaintenanceOperationResultCodeTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static MaintenanceOperationResultCodeTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final MaintenanceOperationResultCodeTypes NONE
Enum value None.
-
RETRY_LATER
public static final MaintenanceOperationResultCodeTypes RETRY_LATER
Enum value RetryLater.
-
MAINTENANCE_ABORTED
public static final MaintenanceOperationResultCodeTypes MAINTENANCE_ABORTED
Enum value MaintenanceAborted.
-
MAINTENANCE_COMPLETED
public static final MaintenanceOperationResultCodeTypes MAINTENANCE_COMPLETED
Enum value MaintenanceCompleted.
-
-
Method Detail
-
values
public static MaintenanceOperationResultCodeTypes[] 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 (MaintenanceOperationResultCodeTypes c : MaintenanceOperationResultCodeTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaintenanceOperationResultCodeTypes 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 MaintenanceOperationResultCodeTypes fromString(String value)
Parses a serialized value to a MaintenanceOperationResultCodeTypes instance.- Parameters:
value- the serialized value to parse.- Returns:
- the parsed MaintenanceOperationResultCodeTypes object, or null if unable to parse.
-
toString
public String toString()
- Overrides:
toStringin classEnum<MaintenanceOperationResultCodeTypes>
-
-