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 (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document).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
copy
Methods inherited from interface software.amazon.awssdk.services.qbusiness.model.QBusinessResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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 (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document).
- Parameters:
mimeType
- The MIME type of the document content (e.g., application/pdf, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-