This method is used to complete a multipart.
String completeMultiPartUpload(String awsLocation, String uploadId, List<String> eTagList)
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, uploadIdeTagList);