Enum EndpointProxy.CredentialType
- java.lang.Object
-
- java.lang.Enum<EndpointProxy.CredentialType>
-
- com.oracle.bmc.loganalytics.model.EndpointProxy.CredentialType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<EndpointProxy.CredentialType>
- Enclosing class:
- EndpointProxy
public static enum EndpointProxy.CredentialType extends Enum<EndpointProxy.CredentialType> implements BmcEnum
The credential type.NONE indicates credentials are not needed to access the proxy. BASIC_AUTH represents a username and password based model. TOKEN represents a token based model.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BasicAuth
None
Token
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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EndpointProxy.CredentialType
create(String key)
String
getValue()
static EndpointProxy.CredentialType
valueOf(String name)
Returns the enum constant of this type with the specified name.static EndpointProxy.CredentialType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final EndpointProxy.CredentialType None
-
BasicAuth
public static final EndpointProxy.CredentialType BasicAuth
-
Token
public static final EndpointProxy.CredentialType Token
-
UnknownEnumValue
public static final EndpointProxy.CredentialType 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 EndpointProxy.CredentialType[] 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 (EndpointProxy.CredentialType c : EndpointProxy.CredentialType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EndpointProxy.CredentialType 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 EndpointProxy.CredentialType create(String key)
-
-