Interface DownloadRequest.UntypedBuilder

Enclosing class:
DownloadRequest<ReturnT>

public static interface DownloadRequest.UntypedBuilder
Initial calls to DownloadRequest.builder() return an DownloadRequest.UntypedBuilder, where the builder is not yet parameterized with the generic type associated with DownloadRequest. This prevents the otherwise awkward syntax of having to explicitly cast the builder type, e.g.,
 DownloadRequest.<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 DownloadRequest.TypedBuilder.