|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<InstanceAction>
com.baidubce.services.bcc.model.instance.InstanceAction
public enum InstanceAction
The action for operating the instance.
| Enum Constant Summary | |
|---|---|
bind
The action to bind the instance to specified securitygroup. |
|
changeHostname
The action to change the hostname of the instance. |
|
changePass
The action to change the admin password of the instance. |
|
modifyAttribute
The action to modify the attribute of the instance. |
|
modifyDesc
The action to modify the desc of the instance. |
|
purchaseReserved
The action to purchaseReserved the instance. |
|
reboot
The action to reboot the instance. |
|
rebuild
The action to rebuild the instance. |
|
rename
The action to rename the bbc instance |
|
resize
The action to resize the instance. |
|
start
The action to start the instance. |
|
stop
The action to stop the instance. |
|
toPrepay
The action to change instance to be prepaid. |
|
unbind
The action to unbind the instance from securitygroup. |
|
updateDesc
The action to update bcc desc |
|
| Method Summary | |
|---|---|
static InstanceAction |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static InstanceAction[] |
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 InstanceAction start
public static final InstanceAction stop
public static final InstanceAction reboot
public static final InstanceAction changePass
public static final InstanceAction modifyAttribute
public static final InstanceAction rename
public static final InstanceAction modifyDesc
public static final InstanceAction rebuild
public static final InstanceAction resize
public static final InstanceAction bind
public static final InstanceAction unbind
public static final InstanceAction purchaseReserved
public static final InstanceAction updateDesc
public static final InstanceAction toPrepay
public static final InstanceAction changeHostname
| Method Detail |
|---|
public static InstanceAction[] values()
for (InstanceAction c : InstanceAction.values()) System.out.println(c);
public static InstanceAction 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 | |||||||||