Interface UploadPartPresignRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UploadPartPresignRequest.Builder,
,UploadPartPresignRequest> PresignRequest.Builder
,SdkBuilder<UploadPartPresignRequest.Builder,
UploadPartPresignRequest>
- Enclosing class:
UploadPartPresignRequest
@NotThreadSafe
public static interface UploadPartPresignRequest.Builder
extends PresignRequest.Builder, CopyableBuilder<UploadPartPresignRequest.Builder,UploadPartPresignRequest>
A builder for a
UploadPartPresignRequest
, created with UploadPartPresignRequest.builder()
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the presigned request, based on the configuration on this builder.signatureDuration
(Duration signatureDuration) Specifies the duration for which this presigned request should be valid.default UploadPartPresignRequest.Builder
uploadPartRequest
(Consumer<UploadPartRequest.Builder> uploadPartRequest) Configure theUploadPartRequest
that should be presigned.uploadPartRequest
(UploadPartRequest uploadPartRequest) Configure theUploadPartRequest
that should be presigned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
uploadPartRequest
Configure theUploadPartRequest
that should be presigned. -
uploadPartRequest
default UploadPartPresignRequest.Builder uploadPartRequest(Consumer<UploadPartRequest.Builder> uploadPartRequest) Configure theUploadPartRequest
that should be presigned. This is a convenience method for invokinguploadPartRequest(UploadPartRequest)
without needing to invokeUploadPartRequest.builder()
orbuild()
. -
signatureDuration
Description copied from interface:PresignRequest.Builder
Specifies the duration for which this presigned request should be valid. After this time has expired, attempting to use the presigned request will fail.- Specified by:
signatureDuration
in interfacePresignRequest.Builder
-
build
UploadPartPresignRequest build()Description copied from interface:PresignRequest.Builder
Build the presigned request, based on the configuration on this builder.- Specified by:
build
in interfaceBuildable
- Specified by:
build
in interfacePresignRequest.Builder
- Specified by:
build
in interfaceSdkBuilder<UploadPartPresignRequest.Builder,
UploadPartPresignRequest> - Returns:
- an instance of T
-