Discovered Version 2 of the AWS S3 Java SDK has moved the overrides directly to GetObjectRequest.
GetObjectRequest getObjectRequestgetObjectRequest =
GetObjectRequest.builder()
.bucket(bucketName)
.key(keyName)
.responseContentType(contentType)
.responseContentDisposition(contentDisposition)
.build();
// Create a GetObjectPresignRequest to specify the signature duration
GetObjectPresignRequest getObjectPresignRequest =
GetObjectPresignRequest.builder()
.signatureDuration(Duration.ofMillis(expirationMs))
.getObjectRequest(getObjectRequest)
.build();