Interface UploadPartPresignRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UploadPartPresignRequest.Builder,,UploadPartPresignRequest> PresignRequest.Builder,SdkBuilder<UploadPartPresignRequest.Builder,UploadPartPresignRequest>
- Enclosing class:
UploadPartPresignRequest
@SdkPublicApi
@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.BuilderuploadPartRequest(Consumer<UploadPartRequest.Builder> uploadPartRequest) Configure theUploadPartRequestthat should be presigned.uploadPartRequest(UploadPartRequest uploadPartRequest) Configure theUploadPartRequestthat should be presigned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Method Details
-
uploadPartRequest
Configure theUploadPartRequestthat should be presigned. -
uploadPartRequest
default UploadPartPresignRequest.Builder uploadPartRequest(Consumer<UploadPartRequest.Builder> uploadPartRequest) Configure theUploadPartRequestthat should be presigned. This is a convenience method for invokinguploadPartRequest(UploadPartRequest)without needing to invokeUploadPartRequest.builder()orbuild(). -
signatureDuration
Description copied from interface:PresignRequest.BuilderSpecifies 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:
signatureDurationin interfacePresignRequest.Builder
-
build
UploadPartPresignRequest build()Description copied from interface:PresignRequest.BuilderBuild the presigned request, based on the configuration on this builder.- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfacePresignRequest.Builder- Specified by:
buildin interfaceSdkBuilder<UploadPartPresignRequest.Builder,UploadPartPresignRequest> - Returns:
- an instance of T
-