@Generated(value="software.amazon.awssdk:codegen") public enum EventName extends Enum<EventName>
| Enum Constant and Description |
|---|
JOIN_ERROR |
JOINED |
LEFT |
PUBLISH_ERROR |
PUBLISH_STARTED |
PUBLISH_STOPPED |
SUBSCRIBE_ERROR |
SUBSCRIBE_STARTED |
SUBSCRIBE_STOPPED |
UNKNOWN_TO_SDK_VERSION |
| Modifier and Type | Method and Description |
|---|---|
static EventName |
fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.
|
static Set<EventName> |
knownValues()
|
String |
toString() |
static EventName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventName JOINED
public static final EventName LEFT
public static final EventName PUBLISH_STARTED
public static final EventName PUBLISH_STOPPED
public static final EventName SUBSCRIBE_STARTED
public static final EventName SUBSCRIBE_STOPPED
public static final EventName PUBLISH_ERROR
public static final EventName SUBSCRIBE_ERROR
public static final EventName JOIN_ERROR
public static final EventName UNKNOWN_TO_SDK_VERSION
public static EventName[] values()
for (EventName c : EventName.values()) System.out.println(c);
public static EventName 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 EventName fromValue(String value)
value - real valueCopyright © 2023. All rights reserved.