com.myjeeva.digitalocean.common
Enum DoAction
java.lang.Object
java.lang.Enum<DoAction>
com.myjeeva.digitalocean.common.DoAction
- All Implemented Interfaces:
- Serializable, Comparable<DoAction>
public enum DoAction
- extends Enum<DoAction>
Enumeration of DigitalOcean API and its map path and element name
- Author:
- Jeevanandam ([email protected])
AVAILABLE_DROPLETS
public static final DoAction AVAILABLE_DROPLETS
CREATE_DROPLET
public static final DoAction CREATE_DROPLET
GET_DROPLET_INFO
public static final DoAction GET_DROPLET_INFO
REBOOT_DROPLET
public static final DoAction REBOOT_DROPLET
POWER_CYCLE_DROPLET
public static final DoAction POWER_CYCLE_DROPLET
SHUTDOWN_DROPLET
public static final DoAction SHUTDOWN_DROPLET
POWER_OFF_DROPLET
public static final DoAction POWER_OFF_DROPLET
POWER_ON_DROPLET
public static final DoAction POWER_ON_DROPLET
RESET_PASSWORD_DROPLET
public static final DoAction RESET_PASSWORD_DROPLET
RESIZE_DROPLET
public static final DoAction RESIZE_DROPLET
TAKE_DROPLET_SNAPSHOT
public static final DoAction TAKE_DROPLET_SNAPSHOT
RESTORE_DROPLET
public static final DoAction RESTORE_DROPLET
REBUILD_DROPLET
public static final DoAction REBUILD_DROPLET
ENABLE_AUTOMATIC_BACKUPS
public static final DoAction ENABLE_AUTOMATIC_BACKUPS
DISABLE_AUTOMATIC_BACKUPS
public static final DoAction DISABLE_AUTOMATIC_BACKUPS
RENAME_DROPLET
public static final DoAction RENAME_DROPLET
DELETE_DROPLET
public static final DoAction DELETE_DROPLET
AVAILABLE_REGIONS
public static final DoAction AVAILABLE_REGIONS
AVAILABLE_IMAGES
public static final DoAction AVAILABLE_IMAGES
GET_IMAGE_INFO
public static final DoAction GET_IMAGE_INFO
DELETE_IMAGE
public static final DoAction DELETE_IMAGE
TRANSFER_IMAGE
public static final DoAction TRANSFER_IMAGE
AVAILABLE_SSH_KEYS
public static final DoAction AVAILABLE_SSH_KEYS
CREATE_SSH_KEY
public static final DoAction CREATE_SSH_KEY
GET_SSH_KEY
public static final DoAction GET_SSH_KEY
EDIT_SSH_KEY
public static final DoAction EDIT_SSH_KEY
DELETE_SSH_KEY
public static final DoAction DELETE_SSH_KEY
AVAILABLE_SIZES
public static final DoAction AVAILABLE_SIZES
AVAILABLE_DOMAINS
public static final DoAction AVAILABLE_DOMAINS
CREATE_DOMAIN
public static final DoAction CREATE_DOMAIN
GET_DOMAIN
public static final DoAction GET_DOMAIN
DELETE_DOMAIN
public static final DoAction DELETE_DOMAIN
GET_DOMAIN_RECORDS
public static final DoAction GET_DOMAIN_RECORDS
CREATE_DOMAIN_RECORD
public static final DoAction CREATE_DOMAIN_RECORD
GET_DOMAIN_RECORD_INFO
public static final DoAction GET_DOMAIN_RECORD_INFO
EDIT_DOMAIN_RECORD
public static final DoAction EDIT_DOMAIN_RECORD
DELETE_DOMAIN_RECORD
public static final DoAction DELETE_DOMAIN_RECORD
values
public static DoAction[] 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 (DoAction c : DoAction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DoAction 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
getMapPath
public String getMapPath()
- Returns:
- the mapPath
getElementName
public String getElementName()
- Returns:
- the elementName