com.amazonaws.services.s3.transfer

## インタフェース Download

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

      public interface Download
      extends Transfer

  Represents an asynchronous download from Amazon S3.

  See `TransferManager` for more information about creating transfers.

  関連項目:
    `TransferManager#download(com.amazonaws.services.s3.model.GetObjectRequest);`

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

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

      `Transfer.TransferState`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `void` | `abort()` Cancels this download.
    `java.lang.String` | `getBucketName()` The name of the bucket where the object is being downloaded from.
    `java.lang.String` | `getKey()` The key under which this object was stored in Amazon S3.
    `ObjectMetadata` | `getObjectMetadata()` Returns the ObjectMetadata for the object being downloaded.

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

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

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

    - #### getObjectMetadata

          ObjectMetadata getObjectMetadata()

      Returns the ObjectMetadata for the object being downloaded.
      戻り値:
        The ObjectMetadata for the object being downloaded.

    - #### getBucketName

          java.lang.String getBucketName()

      The name of the bucket where the object is being downloaded from.
      戻り値:
        The name of the bucket where the object is being downloaded from.

    - #### getKey

          java.lang.String getKey()

      The key under which this object was stored in Amazon S3.
      戻り値:
        The key under which this object was stored in Amazon S3.

    - #### abort

          void abort()
                     throws java.io.IOException

      Cancels this download.
      例外:
        `java.io.IOException`