@Generated(value="software.amazon.awssdk:codegen") public interface StartConversationResponseEventStream extends SdkPojo
| Modifier and Type | Interface and Description |
|---|---|
static class |
StartConversationResponseEventStream.EventType
The known possible types of events for
StartConversationResponseEventStream. |
| Modifier and Type | Field and Description |
|---|---|
static StartConversationResponseEventStream |
UNKNOWN
Special type of
StartConversationResponseEventStream for unknown types of events that this version of the
SDK does not know about |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(StartConversationResponseHandler.Visitor visitor)
Calls the appropriate visit method depending on the subtype of
StartConversationResponseEventStream. |
static AudioResponseEvent.Builder |
audioResponseEventBuilder()
Create a builder for the
AudioResponseEvent event type for this stream. |
static HeartbeatEvent.Builder |
heartbeatEventBuilder()
Create a builder for the
HeartbeatEvent event type for this stream. |
static IntentResultEvent.Builder |
intentResultEventBuilder()
Create a builder for the
IntentResultEvent event type for this stream. |
static PlaybackInterruptionEvent.Builder |
playbackInterruptionEventBuilder()
Create a builder for the
PlaybackInterruptionEvent event type for this stream. |
default StartConversationResponseEventStream.EventType |
sdkEventType()
The type of this event.
|
static TextResponseEvent.Builder |
textResponseEventBuilder()
Create a builder for the
TextResponseEvent event type for this stream. |
static TranscriptEvent.Builder |
transcriptEventBuilder()
Create a builder for the
TranscriptEvent event type for this stream. |
equalsBySdkFields, sdkFieldsstatic final StartConversationResponseEventStream UNKNOWN
StartConversationResponseEventStream for unknown types of events that this version of the
SDK does not know aboutstatic PlaybackInterruptionEvent.Builder playbackInterruptionEventBuilder()
PlaybackInterruptionEvent event type for this stream.static TranscriptEvent.Builder transcriptEventBuilder()
TranscriptEvent event type for this stream.static IntentResultEvent.Builder intentResultEventBuilder()
IntentResultEvent event type for this stream.static TextResponseEvent.Builder textResponseEventBuilder()
TextResponseEvent event type for this stream.static AudioResponseEvent.Builder audioResponseEventBuilder()
AudioResponseEvent event type for this stream.static HeartbeatEvent.Builder heartbeatEventBuilder()
HeartbeatEvent event type for this stream.default StartConversationResponseEventStream.EventType sdkEventType()
:event-type header on the Message.void accept(StartConversationResponseHandler.Visitor visitor)
StartConversationResponseEventStream.visitor - Visitor to invoke.Copyright © 2023. All rights reserved.