protected final InitiateMultipartUploadRequest newInitiateMultipartUploadRequest ( UploadObjectRequest req ) { return new InitiateMultipartUploadRequest ( req . getBucketName ( ) , req . getKey ( ) , req . getMetadata ( ) ) . withRedirectLocation ( req . getRedirectLocation ( ) ) . withSSEAwsKeyManagementParams ( req . getSSEAwsKeyManagementParams ( ) ) . withSSECustomerKey ( req . getSSECustomerKey ( ) ) . withStorageClass ( req . getStorageClass ( ) ) . withAccessControlList ( req . getAccessControlList ( ) ) . withCannedACL ( req . getCannedAcl ( ) ) . withGeneralProgressListener ( req . getGeneralProgressListener ( ) ) . withRequestMetricCollector ( req . getRequestMetricCollector ( ) ) ; }
Creates and returns a multi - part upload initiation request from the given upload - object request .