com.baidubce.services.bcc.model.volume
Enum VolumeStatus

java.lang.Object
  extended by java.lang.Enum<VolumeStatus>
      extended by com.baidubce.services.bcc.model.volume.VolumeStatus
All Implemented Interfaces:
Serializable, Comparable<VolumeStatus>

public enum VolumeStatus
extends Enum<VolumeStatus>

The status of the volume.


Enum Constant Summary
Attaching
           
Available
           
Creating
           
Deleted
           
Deleting
           
Detaching
           
Error
           
Expired
           
ImageProcessing
           
InUse
           
NotAvailable
           
Recharging
           
Scaling
           
SnapshotProcessing
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.