Enum User.ProxyConnect
- java.lang.Object
-
- java.lang.Enum<User.ProxyConnect>
-
- com.oracle.bmc.databasemanagement.model.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 Summary
Enum Constants Enum Constant Description No
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.Yes
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static User.ProxyConnect
create(String key)
String
getValue()
static User.ProxyConnect
valueOf(String name)
Returns the enum constant of this type with the specified name.static User.ProxyConnect[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Yes
public static final User.ProxyConnect Yes
-
No
public static final User.ProxyConnect No
-
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 nameNullPointerException
- if the argument is null
-
create
public static User.ProxyConnect create(String key)
-
-