Class DefaultMetadataEvent
java.lang.Object
software.amazon.awssdk.services.qbusiness.model.MetadataEvent
software.amazon.awssdk.services.qbusiness.model.chatoutputstream.DefaultMetadataEvent
- All Implemented Interfaces:
Serializable,SdkPojo,ChatOutputStream,ToCopyableBuilder<MetadataEvent.Builder,MetadataEvent>
@Generated("software.amazon.awssdk:codegen")
public final class DefaultMetadataEvent
extends MetadataEvent
A specialization of
software.amazon.awssdk.services.qbusiness.model.MetadataEvent that represents the
ChatOutputStream$metadataEvent event. Do not use this class directly. Instead, use the static builder methods
on ChatOutputStream.- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.qbusiness.model.ChatOutputStream
ChatOutputStream.EventType -
Field Summary
Fields inherited from interface software.amazon.awssdk.services.qbusiness.model.ChatOutputStream
UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ChatResponseHandler.Visitor visitor) Calls the appropriate visit method depending on the subtype ofMetadataEvent.static DefaultMetadataEvent.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.qbusiness.model.MetadataEvent
conversationId, copy, equals, equalsBySdkFields, finalTextMessage, getValueForField, hashCode, hasSourceAttributions, sdkFieldNameToField, sdkFields, serializableBuilderClass, sourceAttributions, systemMessageId, toString, userMessageId
-
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<MetadataEvent.Builder,MetadataEvent> - Overrides:
toBuilderin classMetadataEvent- Returns:
- a builder for type T
-
builder
-
accept
Description copied from class:MetadataEventCalls the appropriate visit method depending on the subtype ofMetadataEvent.- Specified by:
acceptin interfaceChatOutputStream- Overrides:
acceptin classMetadataEvent- Parameters:
visitor- Visitor to invoke.
-
sdkEventType
Description copied from interface:ChatOutputStreamThe type of this event. Corresponds to the:event-typeheader on the Message.
-