* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
for more information about creating transfers.
com.amazonaws.AmazonClientExceptionIf any errors were encountered in the client while making the request or handling the response.
com.amazonaws.AmazonServiceExceptionIf any errors occurred in Amazon S3 while processing the request.
java.lang.InterruptedExceptionIf this thread is interrupted while waiting for the upload to complete.
PauseFailureexception is thrown
com.amazonaws.services.s3.transfer.exception.PauseExceptionIf failed to pause the operation.
forceCancelTransfersa boolean to forcefully abort the existing uploads if pause cannot be done.