Interface Attachment.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<Attachment.Builder,,- Attachment> - SdkBuilder<Attachment.Builder,,- Attachment> - SdkPojo
- Enclosing class:
- Attachment
- 
Method SummaryModifier and TypeMethodDescriptionattachmentId(String attachmentId) The identifier of the Amazon Q Business attachment.conversationId(String conversationId) The identifier of the Amazon Q Business conversation the attachment is associated with.default Attachment.BuildercopyFrom(Consumer<CopyFromSource.Builder> copyFrom) A CopyFromSource containing a reference to the original source of the Amazon Q Business attachment.copyFrom(CopyFromSource copyFrom) A CopyFromSource containing a reference to the original source of the Amazon Q Business attachment.The Unix timestamp when the Amazon Q Business attachment was created.default Attachment.Buildererror(Consumer<ErrorDetail.Builder> error) ErrorDetail providing information about a Amazon Q Business attachment error.error(ErrorDetail error) ErrorDetail providing information about a Amazon Q Business attachment error.Size in bytes of the Amazon Q Business attachment.Filetype of the Amazon Q Business attachment.MD5 checksum of the Amazon Q Business attachment contents.Filename of the Amazon Q Business attachment.AttachmentStatus of the Amazon Q Business attachment.status(AttachmentStatus status) AttachmentStatus of the Amazon Q Business attachment.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- 
attachmentIdThe identifier of the Amazon Q Business attachment. - Parameters:
- attachmentId- The identifier of the Amazon Q Business attachment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
conversationIdThe identifier of the Amazon Q Business conversation the attachment is associated with. - Parameters:
- conversationId- The identifier of the Amazon Q Business conversation the attachment is associated with.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
nameFilename of the Amazon Q Business attachment. - Parameters:
- name- Filename of the Amazon Q Business attachment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
copyFromA CopyFromSource containing a reference to the original source of the Amazon Q Business attachment. - Parameters:
- copyFrom- A CopyFromSource containing a reference to the original source of the Amazon Q Business attachment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
copyFromA CopyFromSource containing a reference to the original source of the Amazon Q Business attachment. This is a convenience method that creates an instance of theCopyFromSource.Builderavoiding the need to create one manually viaCopyFromSource.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocopyFrom(CopyFromSource).- Parameters:
- copyFrom- a consumer that will call methods on- CopyFromSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
fileTypeFiletype of the Amazon Q Business attachment. - Parameters:
- fileType- Filetype of the Amazon Q Business attachment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
fileSizeSize in bytes of the Amazon Q Business attachment. - Parameters:
- fileSize- Size in bytes of the Amazon Q Business attachment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
md5chksumMD5 checksum of the Amazon Q Business attachment contents. - Parameters:
- md5chksum- MD5 checksum of the Amazon Q Business attachment contents.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
createdAtThe Unix timestamp when the Amazon Q Business attachment was created. - Parameters:
- createdAt- The Unix timestamp when the Amazon Q Business attachment was created.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusAttachmentStatus of the Amazon Q Business attachment. - Parameters:
- status- AttachmentStatus of the Amazon Q Business attachment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusAttachmentStatus of the Amazon Q Business attachment. - Parameters:
- status- AttachmentStatus of the Amazon Q Business attachment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
errorErrorDetail providing information about a Amazon Q Business attachment error. - Parameters:
- error- ErrorDetail providing information about a Amazon Q Business attachment error.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
errorErrorDetail providing information about a Amazon Q Business attachment error. 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:
 
 
-