Class PresignedRequest.DefaultBuilder<B extends PresignedRequest.DefaultBuilder<B>>
java.lang.Object
software.amazon.awssdk.awscore.presigner.PresignedRequest.DefaultBuilder<B>
- All Implemented Interfaces:
PresignedRequest.Builder
- Enclosing class:
- PresignedRequest
@SdkProtectedApi
protected abstract static class PresignedRequest.DefaultBuilder<B extends PresignedRequest.DefaultBuilder<B>>
extends Object
implements PresignedRequest.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexpiration(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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.awscore.presigner.PresignedRequest.Builder
build
-
Constructor Details
-
DefaultBuilder
protected DefaultBuilder() -
DefaultBuilder
-
-
Method Details
-
expiration
Description copied from interface:PresignedRequest.BuilderConfigure the exact SERVICE time that the request will expire. After this time, attempting to execute the request will fail.- Specified by:
expirationin interfacePresignedRequest.Builder
-
isBrowserExecutable
Description copied from interface:PresignedRequest.BuilderConfigure whether the url returned by the url method can be executed in a browser.- Specified by:
isBrowserExecutablein interfacePresignedRequest.Builder
-
signedHeaders
Description copied from interface:PresignedRequest.BuilderConfigure the subset of headers that were signed, and MUST be included in the presigned request to prevent the request from failing.- Specified by:
signedHeadersin interfacePresignedRequest.Builder
-
signedPayload
Description copied from interface:PresignedRequest.BuilderConfigure the payload that was signed.- Specified by:
signedPayloadin interfacePresignedRequest.Builder
-
httpRequest
Description copied from interface:PresignedRequest.BuilderConfigure 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.- Specified by:
httpRequestin interfacePresignedRequest.Builder
-