Interface PresignedRequest.Builder

All Known Subinterfaces:
PresignedAbortMultipartUploadRequest.Builder, PresignedCompleteMultipartUploadRequest.Builder, PresignedCreateMultipartUploadRequest.Builder, PresignedDeleteObjectRequest.Builder, PresignedGetObjectRequest.Builder, PresignedPutObjectRequest.Builder, PresignedSynthesizeSpeechRequest.Builder, PresignedUploadPartRequest.Builder
Enclosing class:
PresignedRequest

public static interface PresignedRequest.Builder
  • Method Details

    • expiration

      PresignedRequest.Builder expiration(Instant expiration)
      Configure the exact SERVICE time that the request will expire. After this time, attempting to execute the request will fail.
    • isBrowserExecutable

      PresignedRequest.Builder isBrowserExecutable(Boolean isBrowserExecutable)
      Configure whether the url returned by the url method can be executed in a browser.
    • signedHeaders

      PresignedRequest.Builder 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

      PresignedRequest.Builder signedPayload(SdkBytes signedPayload)
      Configure the payload that was signed.
    • httpRequest

      PresignedRequest.Builder 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.
    • build