Interface PresignedRequest.Builder
- All Known Subinterfaces:
PresignedAbortMultipartUploadRequest.Builder,PresignedCompleteMultipartUploadRequest.Builder,PresignedCreateMultipartUploadRequest.Builder,PresignedDeleteObjectRequest.Builder,PresignedGetObjectRequest.Builder,PresignedHeadBucketRequest.Builder,PresignedHeadObjectRequest.Builder,PresignedPutObjectRequest.Builder,PresignedSynthesizeSpeechRequest.Builder,PresignedUploadPartRequest.Builder
- Enclosing class:
PresignedRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()expiration(Instant expiration) Configure the exact SERVICE time that the request will expire.httpRequest(SdkHttpRequest httpRequest) Configure the entire SigV4 query-parameter signed request (minus the payload), that can be transmitted as-is to a service using any HTTP client that implement the SDK's HTTP client SPI.isBrowserExecutable(Boolean isBrowserExecutable) Configure whether the url returned by the url method can be executed in a browser.signedHeaders(Map<String, List<String>> signedHeaders) Configure the subset of headers that were signed, and MUST be included in the presigned request to prevent the request from failing.signedPayload(SdkBytes signedPayload) Configure the payload that was signed.
-
Method Details
-
expiration
Configure the exact SERVICE time that the request will expire. After this time, attempting to execute the request will fail. -
isBrowserExecutable
Configure whether the url returned by the url method can be executed in a browser. -
signedHeaders
Configure the subset of headers that were signed, and MUST be included in the presigned request to prevent the request from failing. -
signedPayload
Configure the payload that was signed. -
httpRequest
Configure the entire SigV4 query-parameter signed request (minus the payload), that can be transmitted as-is to a service using any HTTP client that implement the SDK's HTTP client SPI. -
build
PresignedRequest build()
-