public enum VolumeAction extends Enum<VolumeAction>
| Enum Constant and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.