Enum StartConversationResponseEventStream.EventType
- java.lang.Object
-
- java.lang.Enum<StartConversationResponseEventStream.EventType>
-
- software.amazon.awssdk.services.lexruntimev2.model.StartConversationResponseEventStream.EventType
-
- All Implemented Interfaces:
Serializable,Comparable<StartConversationResponseEventStream.EventType>
- Enclosing interface:
- StartConversationResponseEventStream
@Generated("software.amazon.awssdk:codegen") public static enum StartConversationResponseEventStream.EventType extends Enum<StartConversationResponseEventStream.EventType>
The known possible types of events forStartConversationResponseEventStream.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUDIO_RESPONSE_EVENTHEARTBEAT_EVENTINTENT_RESULT_EVENTPLAYBACK_INTERRUPTION_EVENTTEXT_RESPONSE_EVENTTRANSCRIPT_EVENTUNKNOWN_TO_SDK_VERSION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartConversationResponseEventStream.EventTypefromValue(String value)Use this in place of valueOf to convert the raw string returned by the service into the enum value.static Set<StartConversationResponseEventStream.EventType>knownValues()StringtoString()static StartConversationResponseEventStream.EventTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StartConversationResponseEventStream.EventType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PLAYBACK_INTERRUPTION_EVENT
public static final StartConversationResponseEventStream.EventType PLAYBACK_INTERRUPTION_EVENT
-
TRANSCRIPT_EVENT
public static final StartConversationResponseEventStream.EventType TRANSCRIPT_EVENT
-
INTENT_RESULT_EVENT
public static final StartConversationResponseEventStream.EventType INTENT_RESULT_EVENT
-
TEXT_RESPONSE_EVENT
public static final StartConversationResponseEventStream.EventType TEXT_RESPONSE_EVENT
-
AUDIO_RESPONSE_EVENT
public static final StartConversationResponseEventStream.EventType AUDIO_RESPONSE_EVENT
-
HEARTBEAT_EVENT
public static final StartConversationResponseEventStream.EventType HEARTBEAT_EVENT
-
UNKNOWN_TO_SDK_VERSION
public static final StartConversationResponseEventStream.EventType UNKNOWN_TO_SDK_VERSION
-
-
Method Detail
-
values
public static StartConversationResponseEventStream.EventType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StartConversationResponseEventStream.EventType c : StartConversationResponseEventStream.EventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StartConversationResponseEventStream.EventType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<StartConversationResponseEventStream.EventType>
-
fromValue
public static StartConversationResponseEventStream.EventType fromValue(String value)
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- EventType corresponding to the value
-
knownValues
public static Set<StartConversationResponseEventStream.EventType> knownValues()
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownStartConversationResponseEventStream.EventTypes
-
-