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 ofsoftware.amazon.awssdk.services.qbusiness.model.MetadataEventthat represents theChatOutputStream$metadataEventevent. Do not use this class directly. Instead, use the static builder methods onChatOutputStream.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDefaultMetadataEvent.Builder-
Nested 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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ChatResponseHandler.Visitor visitor)Calls the appropriate visit method depending on the subtype ofMetadataEvent.static DefaultMetadataEvent.Builderbuilder()ChatOutputStream.EventTypesdkEventType()The type of this event.DefaultMetadataEvent.BuildertoBuilder()-
Methods inherited from class software.amazon.awssdk.services.qbusiness.model.MetadataEvent
conversationId, copy, equals, equalsBySdkFields, finalTextMessage, getValueForField, hashCode, hasSourceAttributions, sdkFields, serializableBuilderClass, sourceAttributions, systemMessageId, toString, userMessageId
-
-
-
-
Method Detail
-
toBuilder
public DefaultMetadataEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetadataEvent.Builder,MetadataEvent>- Overrides:
toBuilderin classMetadataEvent
-
builder
public static DefaultMetadataEvent.Builder builder()
-
accept
public void accept(ChatResponseHandler.Visitor visitor)
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
public ChatOutputStream.EventType sdkEventType()
Description copied from interface:ChatOutputStreamThe type of this event. Corresponds to the:event-typeheader on the Message.
-
-