Interface GetDocumentContentResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetDocumentContentResponse.Builder,,- GetDocumentContentResponse> - QBusinessResponse.Builder,- SdkBuilder<GetDocumentContentResponse.Builder,,- GetDocumentContentResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetDocumentContentResponse
@Mutable
@NotThreadSafe
public static interface GetDocumentContentResponse.Builder
extends QBusinessResponse.Builder, SdkPojo, CopyableBuilder<GetDocumentContentResponse.Builder,GetDocumentContentResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionThe MIME type of the document content.presignedUrl(String presignedUrl) A pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
presignedUrlA pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business. The URL expires after 5 minutes for security purposes. This URL is generated only after successful ACL validation. - Parameters:
- presignedUrl- A pre-signed URL that provides temporary access to download the document content directly from Amazon Q Business. The URL expires after 5 minutes for security purposes. This URL is generated only after successful ACL validation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mimeTypeThe MIME type of the document content. When outputFormat is RAW, this corresponds to the original document's MIME type (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document). When outputFormat is EXTRACTED, the MIME type is always application/json. - Parameters:
- mimeType- The MIME type of the document content. When outputFormat is RAW, this corresponds to the original document's MIME type (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document). When outputFormat is EXTRACTED, the MIME type is always application/json.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-