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 and 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.
|
Modifier and Type | Method and 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.
|
public static final EndpointProxy.CredentialType None
public static final EndpointProxy.CredentialType BasicAuth
public static final EndpointProxy.CredentialType Token
public static final EndpointProxy.CredentialType UnknownEnumValue
public static EndpointProxy.CredentialType[] values()
for (EndpointProxy.CredentialType c : EndpointProxy.CredentialType.values()) System.out.println(c);
public static EndpointProxy.CredentialType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static EndpointProxy.CredentialType create(String key)
Copyright © 2016–2025. All rights reserved.