com.baidubce.services.bcc.model.volume
Enum VolumeStatus
java.lang.Object
java.lang.Enum<VolumeStatus>
com.baidubce.services.bcc.model.volume.VolumeStatus
- All Implemented Interfaces:
- Serializable, Comparable<VolumeStatus>
public enum VolumeStatus
- extends Enum<VolumeStatus>
The status of the volume.
|
Method Summary |
static VolumeStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VolumeStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Creating
public static final VolumeStatus Creating
Available
public static final VolumeStatus Available
Attaching
public static final VolumeStatus Attaching
NotAvailable
public static final VolumeStatus NotAvailable
InUse
public static final VolumeStatus InUse
Detaching
public static final VolumeStatus Detaching
Deleting
public static final VolumeStatus Deleting
Deleted
public static final VolumeStatus Deleted
Scaling
public static final VolumeStatus Scaling
Expired
public static final VolumeStatus Expired
Error
public static final VolumeStatus Error
SnapshotProcessing
public static final VolumeStatus SnapshotProcessing
ImageProcessing
public static final VolumeStatus ImageProcessing
Recharging
public static final VolumeStatus Recharging
values
public static VolumeStatus[] 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 (VolumeStatus c : VolumeStatus.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static VolumeStatus 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 name
NullPointerException - if the argument is null
Copyright © 2020. All rights reserved.