completeMultiPartUpload
This method is used to complete a multipart.
String completeMultiPartUpload(String awsLocation, String uploadId, List<String> eTagList)
Parameters:
awsLocation:Â The name of key to be uploaded as file location. You can get this value from the fileLocation of UploadRequestInfo object.
uploadId:Â The upload Id that you get this Id from the initializeMultipartUpload request as a return value.
eTagList:Â List of Etags. You can get Etags by copyPartMultiPart requests.
Return Value:Â The method will return the ETag as a String.
Example code:
String ETag = cg.SDriveTools.completeMultiPartUpload(uploadRequestInfos .fileLocation, uploadId, eTagList);