Enum Class ActionType

java.lang.Object
java.lang.Enum<ActionType>
com.myjeeva.digitalocean.common.ActionType
All Implemented Interfaces:
Serializable, Comparable<ActionType>, Constable

public enum ActionType extends Enum<ActionType>
Enumeration of DigitalOcean Droplet & Image Action Type
Since:
v2.0
Author:
Jeevanandam M. (jeeva@myjeeva.com)
  • Enum Constant Details

    • CREATE

      @SerializedName("create") public static final ActionType CREATE
    • REBOOT

      @SerializedName("reboot") public static final ActionType REBOOT
    • POWER_CYCLE

      @SerializedName("power_cycle") public static final ActionType POWER_CYCLE
    • SHUTDOWN

      @SerializedName("shutdown") public static final ActionType SHUTDOWN
    • POWER_OFF

      @SerializedName("power_off") public static final ActionType POWER_OFF
    • POWER_ON

      @SerializedName("power_on") public static final ActionType POWER_ON
    • PASSWORD_RESET

      @SerializedName("password_reset") public static final ActionType PASSWORD_RESET
    • RESIZE

      @SerializedName("resize") public static final ActionType RESIZE
    • RESTORE

      @SerializedName("restore") public static final ActionType RESTORE
    • REBUILD

      @SerializedName("rebuild") public static final ActionType REBUILD
    • RENAME

      @SerializedName("rename") public static final ActionType RENAME
    • CHANGE_KERNEL

      @SerializedName("change_kernel") public static final ActionType CHANGE_KERNEL
    • ENABLE_IPV6

      @SerializedName("enable_ipv6") public static final ActionType ENABLE_IPV6
    • ENABLE_BACKUPS

      @SerializedName("enable_backups") public static final ActionType ENABLE_BACKUPS
    • DISABLE_BACKUPS

      @SerializedName("disable_backups") public static final ActionType DISABLE_BACKUPS
    • ENABLE_PRIVATE_NETWORKING

      @SerializedName("enable_private_networking") public static final ActionType ENABLE_PRIVATE_NETWORKING
    • SNAPSHOT

      @SerializedName("snapshot") public static final ActionType SNAPSHOT
    • BACKUP

      @SerializedName("backup") public static final ActionType BACKUP
    • TRANSFER

      @SerializedName("transfer") public static final ActionType TRANSFER
    • CONVERT

      @SerializedName("convert") public static final ActionType CONVERT
    • CONVERT_TO_SNAPSHOT

      @SerializedName("convert_to_snapshot") public static final ActionType CONVERT_TO_SNAPSHOT
    • DISTRIBUTION

      @SerializedName("distribution") public static final ActionType DISTRIBUTION
    • APPLICATION

      @SerializedName("application") public static final ActionType APPLICATION
    • ASSIGN_FLOATING_IP

      @SerializedName("assign_ip") public static final ActionType ASSIGN_FLOATING_IP
    • UNASSIGN_FLOATING_IP

      @SerializedName("unassign_ip") public static final ActionType UNASSIGN_FLOATING_IP
    • RESERVE_FLOATING_IP

      @SerializedName("reserve_ip") public static final ActionType RESERVE_FLOATING_IP
    • ATTACH

      @SerializedName(value="attach", alternate="attach_volume") public static final ActionType ATTACH
    • DETACH

      @SerializedName(value="detach", alternate="detach_volume") public static final ActionType DETACH
  • Method Details

    • values

      public static ActionType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ActionType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ActionType>
    • fromValue

      public static ActionType fromValue(String value)