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
protected abstract static class PresignedRequest.DefaultBuilder<B extends PresignedRequest.DefaultBuilder<B>> extends Object implements PresignedRequest.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDefaultBuilder()protectedDefaultBuilder(PresignedRequest request)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Bexpiration(Instant expiration)Configure the exact SERVICE time that the request will expire.BhttpRequest(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.BisBrowserExecutable(Boolean isBrowserExecutable)Configure whether the url returned by the url method can be executed in a browser.BsignedHeaders(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.BsignedPayload(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, wait
-
Methods inherited from interface software.amazon.awssdk.awscore.presigner.PresignedRequest.Builder
build
-
-
-
-
Constructor Detail
-
DefaultBuilder
protected DefaultBuilder()
-
DefaultBuilder
protected DefaultBuilder(PresignedRequest request)
-
-
Method Detail
-
expiration
public B expiration(Instant 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
public B isBrowserExecutable(Boolean 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
public B signedHeaders(Map<String,List<String>> 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
public B signedPayload(SdkBytes signedPayload)
Description copied from interface:PresignedRequest.BuilderConfigure the payload that was signed.- Specified by:
signedPayloadin interfacePresignedRequest.Builder
-
httpRequest
public B httpRequest(SdkHttpRequest 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
-
-