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 Summary
Modifier 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.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
- 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.
-
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.
- 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.
-