Interface StartSpeechSynthesisStreamEventStream
- All Superinterfaces:
SdkPojo
- All Known Implementing Classes:
AudioEvent,DefaultAudioEvent,DefaultStreamClosedEvent,StreamClosedEvent
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
public interface StartSpeechSynthesisStreamEventStream
extends SdkPojo
Base interface for all event types in StartSpeechSynthesisStreamEventStream.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe known possible types of events forStartSpeechSynthesisStreamEventStream. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StartSpeechSynthesisStreamEventStreamSpecial type ofStartSpeechSynthesisStreamEventStreamfor unknown types of events that this version of the SDK does not know about -
Method Summary
Modifier and TypeMethodDescriptionvoidCalls the appropriate visit method depending on the subtype ofStartSpeechSynthesisStreamEventStream.static AudioEvent.BuilderCreate a builder for theAudioEventevent type for this stream.The type of this event.static StreamClosedEvent.BuilderCreate a builder for theStreamClosedEventevent type for this stream.Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Field Details
-
UNKNOWN
Special type ofStartSpeechSynthesisStreamEventStreamfor unknown types of events that this version of the SDK does not know about
-
-
Method Details
-
audioEventBuilder
Create a builder for theAudioEventevent type for this stream. -
streamClosedEventBuilder
Create a builder for theStreamClosedEventevent type for this stream. -
sdkEventType
The type of this event. Corresponds to the:event-typeheader on the Message. -
accept
Calls the appropriate visit method depending on the subtype ofStartSpeechSynthesisStreamEventStream.- Parameters:
visitor- Visitor to invoke.
-