@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 |
Modifier and Type | Method and Description |
---|---|
static EventName |
fromValue(String value)
Use this in place of valueOf.
|
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 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 valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.