com.amazonaws.services.s3.transfer.model

## クラス UploadResult

- java.lang.Object
- - com.amazonaws.services.s3.transfer.model.UploadResult

-     public class UploadResult
      extends java.lang.Object

  Contains information returned by Amazon S3 for a completed upload.

  See `TransferManager` for more information about creating transfers.

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

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `UploadResult()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getBucketName()` Returns the name of the bucket containing the uploaded object.
    `java.lang.String` | `getETag()` Returns the entity tag identifying the new object.
    `java.lang.String` | `getKey()` Returns the key by which the newly created object is stored.
    `java.lang.String` | `getVersionId()` Returns the version ID of the new object.
    `void` | `setBucketName(java.lang.String bucketName)` Sets the name of the bucket containing the uploaded object.
    `void` | `setETag(java.lang.String etag)` Sets the entity tag identifying the new object.
    `void` | `setKey(java.lang.String key)` Sets the key of the newly created object.
    `void` | `setVersionId(java.lang.String versionId)` Sets the version ID of the new object, only present if versioning has been enabled for the bucket.

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### UploadResult

          public UploadResult()

  - ### メソッドの詳細

    - #### getBucketName

          public java.lang.String getBucketName()

      Returns the name of the bucket containing the uploaded object.
      戻り値:
        The name of the bucket containing the uploaded object.

    - #### setBucketName

          public void setBucketName(java.lang.String bucketName)

      Sets the name of the bucket containing the uploaded object.
      パラメータ:
        `bucketName` - The name of the bucket containing the uploaded object.

    - #### getKey

          public java.lang.String getKey()

      Returns the key by which the newly created object is stored.

    - #### setKey

          public void setKey(java.lang.String key)

      Sets the key of the newly created object.

    - #### getETag

          public java.lang.String getETag()

      Returns the entity tag identifying the new object. An entity tag is an opaque string that changes if and only if an object's data changes.
      戻り値:
        An opaque string that changes if and only if an object's data changes.

    - #### setETag

          public void setETag(java.lang.String etag)

      Sets the entity tag identifying the new object. An entity tag is an opaque string that changes if and only if an object's data changes.
      パラメータ:
        `etag` - The entity tag.

    - #### getVersionId

          public java.lang.String getVersionId()

      Returns the version ID of the new object. The version ID is only set if versioning has been enabled for the bucket.
      戻り値:
        The version ID of the new object. The version ID is only set if versioning has been enabled for the bucket.

    - #### setVersionId

          public void setVersionId(java.lang.String versionId)

      Sets the version ID of the new object, only present if versioning has been enabled for the bucket.
      パラメータ:
        `versionId` - The version ID of the new object, only present if versioning has been enabled for the bucket.