Class PresignedUrlResponse.PresignedUrlResponseBuilder
java.lang.Object
com.salesforce.multicloudj.blob.driver.PresignedUrlResponse.PresignedUrlResponseBuilder
- Enclosing class:
- PresignedUrlResponse
-
Method Summary
Modifier and TypeMethodDescriptionbuild()expiration(Instant expiration) When the URL stops being valid.signedHeaders(Map<String, String> signedHeaders) Headers the uploader must replay verbatim.toString()The presigned URL.
-
Method Details
-
url
The presigned URL.- Returns:
this.
-
signedHeaders
public PresignedUrlResponse.PresignedUrlResponseBuilder signedHeaders(Map<String, String> signedHeaders) Headers the uploader must replay verbatim. On most substrates, each header was bound into the URL signature — omitting or modifying any of them causes the substrate to reject the request. Substrate caveat: not all substrates can sign all constraint headers (e.g. GCS cannot sign Content-Length). Only headers that appear in this map were actually signed; callers should not assume constraints beyond what is reported here are enforced. Never null; empty map when no constraint headers were signed (e.g. download URLs).- Returns:
this.
-
expiration
When the URL stops being valid. Null only if the substrate doesn't expose it.- Returns:
this.
-
build
-
toString
-