public static interface DownloadRequest.TypedBuilder<T> extends CopyableBuilder<DownloadRequest.TypedBuilder<T>,DownloadRequest<T>>
DownloadRequest.UntypedBuilder. This builder's type is inferred as part of specifying DownloadRequest.UntypedBuilder.responseTransformer(AsyncResponseTransformer), after which this builder can be used to construct a DownloadRequest with the same generic type.copyapplyMutation, buildDownloadRequest.TypedBuilder<T> getObjectRequest(GetObjectRequest getObjectRequest)
GetObjectRequest request that should be used for the downloadgetObjectRequest - the getObject requestgetObjectRequest(Consumer)default DownloadRequest.TypedBuilder<T> getObjectRequest(Consumer<GetObjectRequest.Builder> getObjectRequestBuilder)
GetObjectRequest request that should be used for the download
This is a convenience method that creates an instance of the GetObjectRequest builder, avoiding the need to
create one manually via GetObjectRequest.builder().
getObjectRequestBuilder - the getObject requestgetObjectRequest(GetObjectRequest)DownloadRequest.TypedBuilder<T> overrideConfiguration(TransferRequestOverrideConfiguration configuration)
configuration - The override configuration.default DownloadRequest.TypedBuilder<T> overrideConfiguration(Consumer<TransferRequestOverrideConfiguration.Builder> configurationBuilder)
overrideConfiguration(TransferRequestOverrideConfiguration), but takes a lambda to configure a new
TransferRequestOverrideConfiguration.Builder. This removes the need to call TransferRequestOverrideConfiguration.builder() and TransferRequestOverrideConfiguration.Builder.build().configurationBuilder - the upload configurationoverrideConfiguration(TransferRequestOverrideConfiguration)DownloadRequest.TypedBuilder<T> responseTransformer(AsyncResponseTransformer<GetObjectResponse,T> responseTransformer)
AsyncResponseTransformer that should be used for the download. The generic type used is
constrained by the DownloadRequest.UntypedBuilder.responseTransformer(AsyncResponseTransformer) that was previously used to
create this DownloadRequest.TypedBuilder.responseTransformer - the AsyncResponseTransformerAsyncResponseTransformerCopyright © 2022. All rights reserved.