public enum DaiAuthenticationKeyType extends Enum<DaiAuthenticationKeyType>
Java class for DaiAuthenticationKeyType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DaiAuthenticationKeyType">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="UNKNOWN"/>
<enumeration value="API"/>
<enumeration value="HMAC"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
API
Indicates that the key is a standard API key and should be used with the api-key SDK parameter
when authenticating stream create requests.
|
HMAC
Indicates that the key is an HMAC key and should be used to generate a signature for the stream
create request with the auth-token SDK parameter.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static DaiAuthenticationKeyType |
fromValue(String v) |
String |
value() |
static DaiAuthenticationKeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DaiAuthenticationKeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DaiAuthenticationKeyType UNKNOWN
public static final DaiAuthenticationKeyType API
public static final DaiAuthenticationKeyType HMAC
public static DaiAuthenticationKeyType[] values()
for (DaiAuthenticationKeyType c : DaiAuthenticationKeyType.values()) System.out.println(c);
public static DaiAuthenticationKeyType 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 String value()
public static DaiAuthenticationKeyType fromValue(String v)
Copyright © 2018. All Rights Reserved.