|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<VolumeAction>
com.baidubce.services.bcc.model.volume.VolumeAction
public enum VolumeAction
The action for operating the volume.
| Enum Constant Summary | |
|---|---|
attach
The action to attach the volume. |
|
autoRenew
The action to enable auto renewal to volume |
|
cancelAutoRenew
The action to disable auto renewal to volume |
|
detach
The action to detach the volume. |
|
modify
The action to modify the attribute of the volume. |
|
modifyChargeType
The action to modify charge type of the volume. |
|
purchaseReserved
The action to purchaseReserved the volume. |
|
rename
The action to rename the volume |
|
resize
The action to resize the volume. |
|
rollback
The action to rollback the volume. |
|
| Method Summary | |
|---|---|
static VolumeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VolumeAction[] |
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 |
|---|
public static final VolumeAction attach
public static final VolumeAction detach
public static final VolumeAction resize
public static final VolumeAction rollback
public static final VolumeAction purchaseReserved
public static final VolumeAction modify
public static final VolumeAction modifyChargeType
public static final VolumeAction autoRenew
public static final VolumeAction cancelAutoRenew
public static final VolumeAction rename
| Method Detail |
|---|
public static VolumeAction[] values()
for (VolumeAction c : VolumeAction.values()) System.out.println(c);
public static VolumeAction valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||