Interface PresignedPutObjectRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<PresignedPutObjectRequest.Builder,
,PresignedPutObjectRequest> PresignedRequest.Builder
,SdkBuilder<PresignedPutObjectRequest.Builder,
PresignedPutObjectRequest>
- Enclosing class:
PresignedPutObjectRequest
@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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
expiration
Description copied from interface:PresignedRequest.Builder
Configure the exact SERVICE time that the request will expire. After this time, attempting to execute the request will fail.- Specified by:
expiration
in interfacePresignedRequest.Builder
-
isBrowserExecutable
Description copied from interface:PresignedRequest.Builder
Configure whether the url returned by the url method can be executed in a browser.- Specified by:
isBrowserExecutable
in interfacePresignedRequest.Builder
-
signedHeaders
Description copied from interface:PresignedRequest.Builder
Configure the subset of headers that were signed, and MUST be included in the presigned request to prevent the request from failing.- Specified by:
signedHeaders
in interfacePresignedRequest.Builder
-
signedPayload
Description copied from interface:PresignedRequest.Builder
Configure the payload that was signed.- Specified by:
signedPayload
in interfacePresignedRequest.Builder
-
httpRequest
Description copied from interface:PresignedRequest.Builder
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.- Specified by:
httpRequest
in interfacePresignedRequest.Builder
-
build
PresignedPutObjectRequest build()Description copied from interface:SdkBuilder
An immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfacePresignedRequest.Builder
- Specified by:
build
in interfaceSdkBuilder<PresignedPutObjectRequest.Builder,
PresignedPutObjectRequest> - Returns:
- an instance of T
-