Class DefaultTextResponseEvent
java.lang.Object
software.amazon.awssdk.services.lexruntimev2.model.TextResponseEvent
software.amazon.awssdk.services.lexruntimev2.model.startconversationresponseeventstream.DefaultTextResponseEvent
- All Implemented Interfaces:
Serializable
,SdkPojo
,StartConversationResponseEventStream
,ToCopyableBuilder<TextResponseEvent.Builder,
TextResponseEvent>
@Generated("software.amazon.awssdk:codegen")
public final class DefaultTextResponseEvent
extends TextResponseEvent
A specialization of
software.amazon.awssdk.services.lexruntimev2.model.TextResponseEvent
that represents the
StartConversationResponseEventStream$TextResponseEvent
event. Do not use this class directly. Instead, use
the static builder methods on
StartConversationResponseEventStream
.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.lexruntimev2.model.StartConversationResponseEventStream
StartConversationResponseEventStream.EventType
-
Field Summary
Fields inherited from interface software.amazon.awssdk.services.lexruntimev2.model.StartConversationResponseEventStream
UNKNOWN
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Calls the appropriate visit method depending on the subtype ofTextResponseEvent
.builder()
The type of this event.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class software.amazon.awssdk.services.lexruntimev2.model.TextResponseEvent
copy, equals, equalsBySdkFields, eventId, getValueForField, hashCode, hasMessages, messages, sdkFields, serializableBuilderClass, toString
-
Method Details
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TextResponseEvent.Builder,
TextResponseEvent> - Overrides:
toBuilder
in classTextResponseEvent
- Returns:
- a builder for type T
-
builder
-
accept
Description copied from class:TextResponseEvent
Calls the appropriate visit method depending on the subtype ofTextResponseEvent
.- Specified by:
accept
in interfaceStartConversationResponseEventStream
- Overrides:
accept
in classTextResponseEvent
- Parameters:
visitor
- Visitor to invoke.
-
sdkEventType
Description copied from interface:StartConversationResponseEventStream
The type of this event. Corresponds to the:event-type
header on the Message.
-