Enum Class Types.VifLockingMode

java.lang.Object
java.lang.Enum<Types.VifLockingMode>
com.xensource.xenapi.Types.VifLockingMode
All Implemented Interfaces:
Serializable, Comparable<Types.VifLockingMode>, Constable
Enclosing class:
Types

public static enum Types.VifLockingMode extends Enum<Types.VifLockingMode>
  • Enum Constant Details

    • UNRECOGNIZED

      public static final Types.VifLockingMode UNRECOGNIZED
      The value does not belong to this enumeration
    • NETWORK_DEFAULT

      public static final Types.VifLockingMode NETWORK_DEFAULT
      No specific configuration set - default network policy applies
    • LOCKED

      public static final Types.VifLockingMode LOCKED
      Only traffic to a specific MAC and a list of IPv4 or IPv6 addresses is permitted
    • UNLOCKED

      public static final Types.VifLockingMode UNLOCKED
      All traffic is permitted
    • DISABLED

      public static final Types.VifLockingMode DISABLED
      No traffic is permitted
  • Method Details

    • values

      public static Types.VifLockingMode[] 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 Types.VifLockingMode 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<Types.VifLockingMode>