Interface StartConversationResponseEventStream
-
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
AudioResponseEvent,DefaultAudioResponseEvent,DefaultHeartbeatEvent,DefaultIntentResultEvent,DefaultPlaybackInterruptionEvent,DefaultTextResponseEvent,DefaultTranscriptEvent,HeartbeatEvent,IntentResultEvent,PlaybackInterruptionEvent,TextResponseEvent,TranscriptEvent
@Generated("software.amazon.awssdk:codegen") public interface StartConversationResponseEventStream extends SdkPojo
Base interface for all event types in StartConversationResponseEventStream.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStartConversationResponseEventStream.EventTypeThe known possible types of events forStartConversationResponseEventStream.
-
Field Summary
Fields Modifier and Type Field Description static StartConversationResponseEventStreamUNKNOWNSpecial type ofStartConversationResponseEventStreamfor unknown types of events that this version of the SDK does not know about
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidaccept(StartConversationResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofStartConversationResponseEventStream.static AudioResponseEvent.BuilderaudioResponseEventBuilder()Create a builder for theAudioResponseEventevent type for this stream.static HeartbeatEvent.BuilderheartbeatEventBuilder()Create a builder for theHeartbeatEventevent type for this stream.static IntentResultEvent.BuilderintentResultEventBuilder()Create a builder for theIntentResultEventevent type for this stream.static PlaybackInterruptionEvent.BuilderplaybackInterruptionEventBuilder()Create a builder for thePlaybackInterruptionEventevent type for this stream.default StartConversationResponseEventStream.EventTypesdkEventType()The type of this event.static TextResponseEvent.BuildertextResponseEventBuilder()Create a builder for theTextResponseEventevent type for this stream.static TranscriptEvent.BuildertranscriptEventBuilder()Create a builder for theTranscriptEventevent type for this stream.-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Field Detail
-
UNKNOWN
static final StartConversationResponseEventStream UNKNOWN
Special type ofStartConversationResponseEventStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Detail
-
playbackInterruptionEventBuilder
static PlaybackInterruptionEvent.Builder playbackInterruptionEventBuilder()
Create a builder for thePlaybackInterruptionEventevent type for this stream.
-
transcriptEventBuilder
static TranscriptEvent.Builder transcriptEventBuilder()
Create a builder for theTranscriptEventevent type for this stream.
-
intentResultEventBuilder
static IntentResultEvent.Builder intentResultEventBuilder()
Create a builder for theIntentResultEventevent type for this stream.
-
textResponseEventBuilder
static TextResponseEvent.Builder textResponseEventBuilder()
Create a builder for theTextResponseEventevent type for this stream.
-
audioResponseEventBuilder
static AudioResponseEvent.Builder audioResponseEventBuilder()
Create a builder for theAudioResponseEventevent type for this stream.
-
heartbeatEventBuilder
static HeartbeatEvent.Builder heartbeatEventBuilder()
Create a builder for theHeartbeatEventevent type for this stream.
-
sdkEventType
default StartConversationResponseEventStream.EventType sdkEventType()
The type of this event. Corresponds to the:event-typeheader on the Message.
-
accept
void accept(StartConversationResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype ofStartConversationResponseEventStream.- Parameters:
visitor- Visitor to invoke.
-
-