Enum User.ProxyConnect

  • All Implemented Interfaces:
    BmcEnum, Serializable, Comparable<User.ProxyConnect>
    Enclosing class:
    User

    public static enum User.ProxyConnect
    extends Enum<User.ProxyConnect>
    implements BmcEnum
    Indicates whether a user can connect directly (N) or whether the account can only be proxied (Y) by users who have proxy privileges for this account (that is, by users who have been granted the “connect through” privilege for this account).
    • Enum Constant Detail

      • UnknownEnumValue

        public static final User.ProxyConnect UnknownEnumValue
        This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
    • Method Detail

      • values

        public static User.ProxyConnect[] 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 (User.ProxyConnect c : User.ProxyConnect.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static User.ProxyConnect 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