Interface AttachmentOutput.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<AttachmentOutput.Builder,,- AttachmentOutput> - SdkBuilder<AttachmentOutput.Builder,,- AttachmentOutput> - SdkPojo
- Enclosing class:
- AttachmentOutput
@Mutable
@NotThreadSafe
public static interface AttachmentOutput.Builder
extends SdkPojo, CopyableBuilder<AttachmentOutput.Builder,AttachmentOutput> 
- 
Method SummaryModifier and TypeMethodDescriptionattachmentId(String attachmentId) The unique identifier of the Amazon Q Business attachment.conversationId(String conversationId) The unique identifier of the Amazon Q Business conversation.default AttachmentOutput.Buildererror(Consumer<ErrorDetail.Builder> error) An error associated with a file uploaded during chat.error(ErrorDetail error) An error associated with a file uploaded during chat.The name of a file uploaded during chat.The status of a file uploaded during chat.status(AttachmentStatus status) The status of a file uploaded during chat.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- 
nameThe name of a file uploaded during chat. - Parameters:
- name- The name of a file uploaded during chat.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of a file uploaded during chat. - Parameters:
- status- The status of a file uploaded during chat.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status of a file uploaded during chat. - Parameters:
- status- The status of a file uploaded during chat.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
errorAn error associated with a file uploaded during chat. - Parameters:
- error- An error associated with a file uploaded during chat.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorAn error associated with a file uploaded during chat. This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetail).- Parameters:
- error- a consumer that will call methods on- ErrorDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
attachmentIdThe unique identifier of the Amazon Q Business attachment. - Parameters:
- attachmentId- The unique identifier of the Amazon Q Business attachment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
conversationIdThe unique identifier of the Amazon Q Business conversation. - Parameters:
- conversationId- The unique identifier of the Amazon Q Business conversation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-