public enum DaiAuthenticationKeyActionErrorReason extends Enum<DaiAuthenticationKeyActionErrorReason>
Java class for DaiAuthenticationKeyActionError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DaiAuthenticationKeyActionError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="INVALID_STATUS_TRANSITION"/>
<enumeration value="CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES"/>
<enumeration value="CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_LIVE_STREAMS"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES
A DAI authentication key cannot be deactivated if it is used by active content sources.
|
CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_LIVE_STREAMS
A DAI authentication key cannot be deactivated if it is used by active live streams.
|
INVALID_STATUS_TRANSITION
The operation is not applicable to the current status.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static DaiAuthenticationKeyActionErrorReason |
fromValue(String v) |
String |
value() |
static DaiAuthenticationKeyActionErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DaiAuthenticationKeyActionErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DaiAuthenticationKeyActionErrorReason INVALID_STATUS_TRANSITION
public static final DaiAuthenticationKeyActionErrorReason CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_CONTENT_SOURCES
public static final DaiAuthenticationKeyActionErrorReason CANNOT_DEACTIVATE_IF_USED_BY_ACTIVE_LIVE_STREAMS
public static final DaiAuthenticationKeyActionErrorReason UNKNOWN
public static DaiAuthenticationKeyActionErrorReason[] values()
for (DaiAuthenticationKeyActionErrorReason c : DaiAuthenticationKeyActionErrorReason.values()) System.out.println(c);
public static DaiAuthenticationKeyActionErrorReason 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 DaiAuthenticationKeyActionErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.