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