Enum CopyStatus
- All Implemented Interfaces:
Serializable
,Comparable<CopyStatus>
,java.lang.constant.Constable
The Status of the copy.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEnum value Completed.Enum value CompletedWithErrors.Enum value DeviceFormatted.Enum value DeviceMetadataModified.Enum value Failed.Enum value HardwareError.Enum value InProgress.Enum value NotReturned.Enum value NotStarted.Enum value StorageAccountNotAccessible.Enum value UnsupportedData. -
Method Summary
Modifier and TypeMethodDescriptionstatic CopyStatus
fromString
(String value) Parses a serialized value to a CopyStatus instance.toString()
static CopyStatus
Returns the enum constant of this type with the specified name.static CopyStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_STARTED
Enum value NotStarted. -
IN_PROGRESS
Enum value InProgress. -
COMPLETED
Enum value Completed. -
COMPLETED_WITH_ERRORS
Enum value CompletedWithErrors. -
FAILED
Enum value Failed. -
NOT_RETURNED
Enum value NotReturned. -
HARDWARE_ERROR
Enum value HardwareError. -
DEVICE_FORMATTED
Enum value DeviceFormatted. -
DEVICE_METADATA_MODIFIED
Enum value DeviceMetadataModified. -
STORAGE_ACCOUNT_NOT_ACCESSIBLE
Enum value StorageAccountNotAccessible. -
UNSUPPORTED_DATA
Enum value UnsupportedData.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
Parses a serialized value to a CopyStatus instance.- Parameters:
value
- the serialized value to parse.- Returns:
- the parsed CopyStatus object, or null if unable to parse.
-
toString
- Overrides:
toString
in classEnum<CopyStatus>
-