Interface Message.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Message.Builder,,- Message> - SdkBuilder<Message.Builder,,- Message> - SdkPojo
- Enclosing class:
- Message
- 
Method SummaryModifier and TypeMethodDescriptiondefault Message.BuilderactionExecution(Consumer<ActionExecution.Builder> actionExecution) Sets the value of the ActionExecution property for this object.actionExecution(ActionExecution actionExecution) Sets the value of the ActionExecution property for this object.default Message.BuilderactionReview(Consumer<ActionReview.Builder> actionReview) Sets the value of the ActionReview property for this object.actionReview(ActionReview actionReview) Sets the value of the ActionReview property for this object.attachments(Collection<AttachmentOutput> attachments) A file directly uploaded into an Amazon Q Business web experience chat.attachments(Consumer<AttachmentOutput.Builder>... attachments) A file directly uploaded into an Amazon Q Business web experience chat.attachments(AttachmentOutput... attachments) A file directly uploaded into an Amazon Q Business web experience chat.The content of the Amazon Q Business web experience message.The identifier of the Amazon Q Business web experience message.sourceAttribution(Collection<SourceAttribution> sourceAttribution) The source documents used to generate Amazon Q Business web experience message.sourceAttribution(Consumer<SourceAttribution.Builder>... sourceAttribution) The source documents used to generate Amazon Q Business web experience message.sourceAttribution(SourceAttribution... sourceAttribution) The source documents used to generate Amazon Q Business web experience message.The timestamp of the first Amazon Q Business web experience message.The type of Amazon Q Business message, whetherHUMANorAIgenerated.type(MessageType type) The type of Amazon Q Business message, whetherHUMANorAIgenerated.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- 
messageIdThe identifier of the Amazon Q Business web experience message. - Parameters:
- messageId- The identifier of the Amazon Q Business web experience message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
bodyThe content of the Amazon Q Business web experience message. - Parameters:
- body- The content of the Amazon Q Business web experience message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timeThe timestamp of the first Amazon Q Business web experience message. - Parameters:
- time- The timestamp of the first Amazon Q Business web experience message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
typeThe type of Amazon Q Business message, whether HUMANorAIgenerated.- Parameters:
- type- The type of Amazon Q Business message, whether- HUMANor- AIgenerated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeThe type of Amazon Q Business message, whether HUMANorAIgenerated.- Parameters:
- type- The type of Amazon Q Business message, whether- HUMANor- AIgenerated.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
attachmentsA file directly uploaded into an Amazon Q Business web experience chat. - Parameters:
- attachments- A file directly uploaded into an Amazon Q Business web experience chat.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
attachmentsA file directly uploaded into an Amazon Q Business web experience chat. - Parameters:
- attachments- A file directly uploaded into an Amazon Q Business web experience chat.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
attachmentsA file directly uploaded into an Amazon Q Business web experience chat. This is a convenience method that creates an instance of theAttachmentOutput.Builderavoiding the need to create one manually viaAttachmentOutput.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachments(List<AttachmentOutput>).- Parameters:
- attachments- a consumer that will call methods on- AttachmentOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sourceAttributionThe source documents used to generate Amazon Q Business web experience message. - Parameters:
- sourceAttribution- The source documents used to generate Amazon Q Business web experience message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceAttributionThe source documents used to generate Amazon Q Business web experience message. - Parameters:
- sourceAttribution- The source documents used to generate Amazon Q Business web experience message.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceAttributionThe source documents used to generate Amazon Q Business web experience message. 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 tosourceAttribution(List<SourceAttribution>).- Parameters:
- sourceAttribution- 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:
 
- 
actionReviewSets the value of the ActionReview property for this object.- Parameters:
- actionReview- The new value for the ActionReview property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
actionReviewSets the value of the ActionReview property for this object. This is a convenience method that creates an instance of theActionReview.Builderavoiding the need to create one manually viaActionReview.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionReview(ActionReview).- Parameters:
- actionReview- a consumer that will call methods on- ActionReview.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
actionExecutionSets the value of the ActionExecution property for this object.- Parameters:
- actionExecution- The new value for the ActionExecution property for this object.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
actionExecutionSets the value of the ActionExecution property for this object. This is a convenience method that creates an instance of theActionExecution.Builderavoiding the need to create one manually viaActionExecution.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactionExecution(ActionExecution).- Parameters:
- actionExecution- a consumer that will call methods on- ActionExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-