com.amazonaws.services.s3.model

## クラス S3ObjectSummary

- java.lang.Object
- - com.amazonaws.services.s3.model.S3ObjectSummary

-     public class S3ObjectSummary
      extends java.lang.Object

  Contains the summary of an object stored in an Amazon S3 bucket. This object doesn't contain contain the object's full metadata or any of its contents.
  関連項目:
    `S3Object`

- - ### フィールドの概要

    フィールド
    修飾子とタイプ | フィールドと説明
    --- | ---
    `protected java.lang.String` | `bucketName` The name of the bucket in which this object is stored
    `protected java.lang.String` | `eTag` Hex encoded MD5 hash of this object's contents, as computed by Amazon S3
    `protected java.lang.String` | `key` The key under which this object is stored
    `protected java.util.Date` | `lastModified` The date, according to Amazon S3, when this object was last modified
    `protected Owner` | `owner` The owner of this object - can be null if the requester doesn't have permission to view object ownership information
    `protected long` | `size` The size of this object, in bytes
    `protected java.lang.String` | `storageClass` The class of storage used by Amazon S3 to store this object

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getBucketName()` Gets the name of the Amazon S3 bucket in which this object is stored.
    `java.lang.String` | `getETag()` Gets the hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
    `java.lang.String` | `getKey()` Gets the key under which this object is stored in Amazon S3.
    `java.util.Date` | `getLastModified()` Gets the date when, according to Amazon S3, this object was last modified.
    `Owner` | `getOwner()` Gets the owner of this object.
    `long` | `getSize()` Gets the size of this object in bytes.
    `java.lang.String` | `getStorageClass()` Gets the storage class used by Amazon S3 for this object.
    `void` | `setBucketName(java.lang.String bucketName)` Sets the name of the Amazon S3 bucket in which this object is stored.
    `void` | `setETag(java.lang.String eTag)` Sets the hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
    `void` | `setKey(java.lang.String key)` Sets the key under which this object is stored in Amazon S3.
    `void` | `setLastModified(java.util.Date lastModified)` Sets the date, according to Amazon S3, this object was last modified.
    `void` | `setOwner(Owner owner)` Sets the owner of this object.
    `void` | `setSize(long size)` Sets the size of this object in bytes.
    `void` | `setStorageClass(java.lang.String storageClass)` Sets the storage class used by Amazon S3 for this object.

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

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

- - ### フィールドの詳細

    - #### bucketName

          protected java.lang.String bucketName

      The name of the bucket in which this object is stored

    - #### key

          protected java.lang.String key

      The key under which this object is stored

    - #### eTag

          protected java.lang.String eTag

      Hex encoded MD5 hash of this object's contents, as computed by Amazon S3

    - #### size

          protected long size

      The size of this object, in bytes

    - #### lastModified

          protected java.util.Date lastModified

      The date, according to Amazon S3, when this object was last modified

    - #### storageClass

          protected java.lang.String storageClass

      The class of storage used by Amazon S3 to store this object

    - #### owner

          protected Owner owner

      The owner of this object - can be null if the requester doesn't have permission to view object ownership information

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

    - #### S3ObjectSummary

          public S3ObjectSummary()

  - ### メソッドの詳細

    - #### getBucketName

          public java.lang.String getBucketName()

      Gets the name of the Amazon S3 bucket in which this object is stored.
      戻り値:
        The name of the Amazon S3 bucket in which this object is stored.
      関連項目:
        `setBucketName(String)`

    - #### setBucketName

          public void setBucketName(java.lang.String bucketName)

      Sets the name of the Amazon S3 bucket in which this object is stored.
      パラメータ:
        `bucketName` - The name of the Amazon S3 bucket in which this object is stored.
      関連項目:
        `getBucketName()`

    - #### getKey

          public java.lang.String getKey()

      Gets the key under which this object is stored in Amazon S3.
      戻り値:
        The key under which this object is stored in Amazon S3.
      関連項目:
        `setKey(String)`

    - #### setKey

          public void setKey(java.lang.String key)

      Sets the key under which this object is stored in Amazon S3.
      パラメータ:
        `key` - The key under which this object is stored in Amazon S3.
      関連項目:
        `getKey()`

    - #### getETag

          public java.lang.String getETag()

      Gets the hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
      戻り値:
        The hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
      関連項目:
        `setETag(String)`

    - #### setETag

          public void setETag(java.lang.String eTag)

      Sets the hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
      パラメータ:
        `eTag` - The hex encoded 128-bit MD5 hash of this object's contents as computed by Amazon S3.
      関連項目:
        `getETag()`

    - #### getSize

          public long getSize()

      Gets the size of this object in bytes.
      戻り値:
        The size of this object in bytes.
      関連項目:
        `3ObjectSummary#setSize(long)`

    - #### setSize

          public void setSize(long size)

      Sets the size of this object in bytes.
      パラメータ:
        `size` - The size of this object in bytes.
      関連項目:
        `getSize()`

    - #### getLastModified

          public java.util.Date getLastModified()

      Gets the date when, according to Amazon S3, this object was last modified.
      戻り値:
        The date when, according to Amazon S3, this object was last modified.
      関連項目:
        `setLastModified(Date)`

    - #### setLastModified

          public void setLastModified(java.util.Date lastModified)

      Sets the date, according to Amazon S3, this object was last modified.
      パラメータ:
        `lastModified` - The date when, according to Amazon S3, this object was last modified.
      関連項目:
        `getLastModified()`

    - #### getOwner

          public Owner getOwner()

      Gets the owner of this object. Returns `null` if the requester doesn't have `Permission.ReadAcp` permission for this object or owns the bucket in which it resides.
      戻り値:
        The owner of this object. Returns `null` if the requester doesn't have permission to see object ownership.
      関連項目:
        `setOwner(Owner)`

    - #### setOwner

          public void setOwner(Owner owner)

      Sets the owner of this object.
      パラメータ:
        `owner` - The owner of this object.
      関連項目:
        `getOwner()`

    - #### getStorageClass

          public java.lang.String getStorageClass()

      Gets the storage class used by Amazon S3 for this object.
      戻り値:
        The storage class used by Amazon S3 for this object.
      関連項目:
        `setStorageClass(String)`

    - #### setStorageClass

          public void setStorageClass(java.lang.String storageClass)

      Sets the storage class used by Amazon S3 for this object.
      パラメータ:
        `storageClass` - The storage class used by Amazon S3 for this object.
      関連項目:
        `getStorageClass()`