Class DefaultChunk
java.lang.Object
software.amazon.awssdk.services.assurance.model.ChatChunkEvent
software.amazon.awssdk.services.assurance.model.chateventstream.DefaultChunk
- All Implemented Interfaces:
Serializable,SdkPojo,ChatEventStream,ToCopyableBuilder<ChatChunkEvent.Builder,ChatChunkEvent>
@SdkInternalApi
@Generated("software.amazon.awssdk:codegen")
public final class DefaultChunk
extends ChatChunkEvent
A specialization of
software.amazon.awssdk.services.assurance.model.ChatChunkEvent that represents the
ChatEventStream$chunk event. Do not use this class directly. Instead, use the static builder methods on
ChatEventStream.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.assurance.model.ChatEventStream
ChatEventStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.assurance.model.ChatEventStream
UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ChatResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofChatChunkEvent.static DefaultChunk.Builderbuilder()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.assurance.model.ChatChunkEvent
copy, equals, equalsBySdkFields, getValueForField, hashCode, message, sdkFieldNameToField, sdkFields, serializableBuilderClass, toString
-
Method Details
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ChatChunkEvent.Builder,ChatChunkEvent> - Overrides:
toBuilderin classChatChunkEvent- Returns:
- a builder for type T
-
builder
-
accept
Description copied from class:ChatChunkEventCalls the appropriate visit method depending on the subtype ofChatChunkEvent.- Specified by:
acceptin interfaceChatEventStream- Overrides:
acceptin classChatChunkEvent- Parameters:
visitor- Visitor to invoke.
-
sdkEventType
Description copied from interface:ChatEventStreamThe type of this event. Corresponds to the:event-typeheader on the Message.
-