Interface PresignedDownloadRequest.UntypedBuilder

Enclosing class:
PresignedDownloadRequest<ReturnT>

public static interface PresignedDownloadRequest.UntypedBuilder
Initial calls to PresignedDownloadRequest.builder() return an PresignedDownloadRequest.UntypedBuilder, where the builder is not yet parameterized with the generic type associated with PresignedDownloadRequest. This prevents the otherwise awkward syntax of having to explicitly cast the builder type, e.g.,
 PresignedDownloadRequest.<ResponseBytes<GetObjectResponse>>builder()
 
Instead, the type may be inferred as part of specifying the responseTransformer(AsyncResponseTransformer) parameter, at which point the builder chain will return a new PresignedDownloadRequest.TypedBuilder.