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 ClassesModifier and TypeInterfaceDescriptionstatic enum
The known possible types of events forStartConversationResponseEventStream
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StartConversationResponseEventStream
Special type ofStartConversationResponseEventStream
for unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoid
Calls the appropriate visit method depending on the subtype ofStartConversationResponseEventStream
.static AudioResponseEvent.Builder
Create a builder for theAudioResponseEvent
event type for this stream.static HeartbeatEvent.Builder
Create a builder for theHeartbeatEvent
event type for this stream.static IntentResultEvent.Builder
Create a builder for theIntentResultEvent
event type for this stream.Create a builder for thePlaybackInterruptionEvent
event type for this stream.The type of this event.static TextResponseEvent.Builder
Create a builder for theTextResponseEvent
event type for this stream.static TranscriptEvent.Builder
Create a builder for theTranscriptEvent
event type for this stream.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Field Details
-
UNKNOWN
Special type ofStartConversationResponseEventStream
for unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
playbackInterruptionEventBuilder
Create a builder for thePlaybackInterruptionEvent
event type for this stream. -
transcriptEventBuilder
Create a builder for theTranscriptEvent
event type for this stream. -
intentResultEventBuilder
Create a builder for theIntentResultEvent
event type for this stream. -
textResponseEventBuilder
Create a builder for theTextResponseEvent
event type for this stream. -
audioResponseEventBuilder
Create a builder for theAudioResponseEvent
event type for this stream. -
heartbeatEventBuilder
Create a builder for theHeartbeatEvent
event type for this stream. -
sdkEventType
The type of this event. Corresponds to the:event-type
header on the Message. -
accept
Calls the appropriate visit method depending on the subtype ofStartConversationResponseEventStream
.- Parameters:
visitor
- Visitor to invoke.
-