Interface MetadataEvent.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<MetadataEvent.Builder,,- MetadataEvent> - SdkBuilder<MetadataEvent.Builder,,- MetadataEvent> - SdkPojo
- All Known Subinterfaces:
- DefaultMetadataEvent.Builder
- Enclosing class:
- MetadataEvent
@Mutable
@NotThreadSafe
public static interface MetadataEvent.Builder
extends SdkPojo, CopyableBuilder<MetadataEvent.Builder,MetadataEvent> 
- 
Method SummaryModifier and TypeMethodDescriptionconversationId(String conversationId) The identifier of the conversation with which the generated metadata is associated.finalTextMessage(String finalTextMessage) The final text output message generated by the system.sourceAttributions(Collection<SourceAttribution> sourceAttributions) The source documents used to generate the conversation response.sourceAttributions(Consumer<SourceAttribution.Builder>... sourceAttributions) The source documents used to generate the conversation response.sourceAttributions(SourceAttribution... sourceAttributions) The source documents used to generate the conversation response.systemMessageId(String systemMessageId) The identifier of an Amazon Q Business AI generated message within the conversation.userMessageId(String userMessageId) The identifier of an Amazon Q Business end user text input message within the conversation.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
conversationIdThe identifier of the conversation with which the generated metadata is associated. - Parameters:
- conversationId- The identifier of the conversation with which the generated metadata is associated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
userMessageIdThe identifier of an Amazon Q Business end user text input message within the conversation. - Parameters:
- userMessageId- The identifier of an Amazon Q Business end user text input message within the conversation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
systemMessageIdThe identifier of an Amazon Q Business AI generated message within the conversation. - Parameters:
- systemMessageId- The identifier of an Amazon Q Business AI generated message within the conversation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceAttributionsThe source documents used to generate the conversation response. - Parameters:
- sourceAttributions- The source documents used to generate the conversation response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceAttributionsThe source documents used to generate the conversation response. - Parameters:
- sourceAttributions- The source documents used to generate the conversation response.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceAttributionsThe source documents used to generate the conversation response. This is a convenience method that creates an instance of theSourceAttribution.Builderavoiding the need to create one manually viaSourceAttribution.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceAttributions(List<SourceAttribution>).- Parameters:
- sourceAttributions- a consumer that will call methods on- SourceAttribution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
finalTextMessageThe final text output message generated by the system. - Parameters:
- finalTextMessage- The final text output message generated by the system.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-