Interface PresignedPutObjectRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PresignedPutObjectRequest.Builder,,PresignedPutObjectRequest> PresignedRequest.Builder,SdkBuilder<PresignedPutObjectRequest.Builder,PresignedPutObjectRequest>
- Enclosing class:
PresignedPutObjectRequest
@SdkPublicApi
@NotThreadSafe
public static interface PresignedPutObjectRequest.Builder
extends PresignedRequest.Builder, CopyableBuilder<PresignedPutObjectRequest.Builder,PresignedPutObjectRequest>
A builder for a
PresignedPutObjectRequest, created with PresignedPutObjectRequest.builder().-
Method Summary
Modifier and TypeMethodDescriptionbuild()An immutable object that is created from the properties that have been set on the builder.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.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
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
-
build
PresignedPutObjectRequest build()Description copied from interface:SdkBuilderAn immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfacePresignedRequest.Builder- Specified by:
buildin interfaceSdkBuilder<PresignedPutObjectRequest.Builder,PresignedPutObjectRequest> - Returns:
- an instance of T
-