com.amazonaws.services.s3.transfer

## インタフェース Upload

- すべてのスーパーインタフェース:
    Transfer
  既知の実装クラスのリスト:
    UploadImpl

      public interface Upload
      extends Transfer

  Represents an asynchronous upload to Amazon S3.

  See `TransferManager` for more information about creating transfers.

  関連項目:
    `TransferManager.upload(String, String, java.io.File)`, `TransferManager.upload(com.amazonaws.services.s3.model.PutObjectRequest)`

- - ### ネストされたクラスの概要

    - ### インタフェースから継承されたネストされたクラス/インタフェース com.amazonaws.services.s3.transfer.Transfer

      `Transfer.TransferState`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `UploadResult` | `waitForUploadResult()` Waits for this upload to complete and returns the result of this upload.

    - ### インタフェースから継承されたメソッド com.amazonaws.services.s3.transfer.Transfer

      `addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, waitForCompletion, waitForException`

- - ### メソッドの詳細

    - #### waitForUploadResult

          UploadResult waitForUploadResult()
                                           throws AmazonClientException,
                                                  AmazonServiceException,
                                                  java.lang.InterruptedException

      Waits for this upload to complete and returns the result of this upload. Be prepared to handle errors when calling this method. Any errors that occurred during the asynchronous transfer will be re-thrown through this method.
      戻り値:
        The result of this transfer.
      例外:
        `AmazonClientException` - If any errors were encountered in the client while making the request or handling the response.
        `AmazonServiceException` - If any errors occurred in Amazon S3 while processing the request.
        `java.lang.InterruptedException` - If this thread is interrupted while waiting for the upload to complete.