com.amazonaws.services.s3.model

## クラス S3VersionSummary

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

-     public class S3VersionSummary
      extends java.lang.Object

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

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

    フィールド
    修飾子とタイプ | フィールドと説明
    --- | ---
    `protected java.lang.String` | `bucketName` The name of the bucket in which this version is stored

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getBucketName()` Gets the name of the Amazon S3 bucket in which this version is stored.
    `java.lang.String` | `getETag()` Gets the hex encoded 128-bit MD5 hash of this version's contents as computed by Amazon S3.
    `java.lang.String` | `getKey()` Gets the key under which this version is stored in Amazon S3.
    `java.util.Date` | `getLastModified()` Gets the date according to Amazon S3 at which this version was last modified.
    `Owner` | `getOwner()` Gets the owner of this version.
    `long` | `getSize()` Gets the size of this version in bytes.
    `java.lang.String` | `getStorageClass()` Gets the storage class used by Amazon S3 for this version.
    `java.lang.String` | `getVersionId()` Gets the version ID which uniquely identifies this version of an object.
    `boolean` | `isDeleteMarker()` Returns whether or not this version represents a delete marker.
    `boolean` | `isLatest()` Returns whether or not this version is the latest version for the associated object.
    `void` | `setBucketName(java.lang.String bucketName)` Sets the name of the Amazon S3 bucket in which this version is stored.
    `void` | `setETag(java.lang.String eTag)` Sets the hex encoded 128-bit MD5 hash of this version's contents as computed by Amazon S3.
    `void` | `setIsDeleteMarker(boolean isDeleteMarker)` Intended for internal use only in the Amazon S3 client code.
    `void` | `setIsLatest(boolean isLatest)` For internal use only.
    `void` | `setKey(java.lang.String key)` Sets the key under which this version is stored in Amazon S3.
    `void` | `setLastModified(java.util.Date lastModified)` Sets the date according to Amazon S3 at which this version was last modified.
    `void` | `setOwner(Owner owner)` For internal use only.
    `void` | `setSize(long size)` Sets the size of this version in bytes.
    `void` | `setStorageClass(java.lang.String storageClass)` Sets the storage class used by Amazon S3 for this version.
    `void` | `setVersionId(java.lang.String id)` Sets the version ID which uniquely identifies this version of an 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 version is stored

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

    - #### S3VersionSummary

          public S3VersionSummary()

  - ### メソッドの詳細

    - #### getBucketName

          public java.lang.String getBucketName()

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

    - #### setBucketName

          public void setBucketName(java.lang.String bucketName)

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

    - #### getKey

          public java.lang.String getKey()

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

    - #### setKey

          public void setKey(java.lang.String key)

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

    - #### getVersionId

          public java.lang.String getVersionId()

      Gets the version ID which uniquely identifies this version of an object.

      Objects created before versioning was enabled or when versioning is suspended will be given the default/null version ID (see `Constants.NULL_VERSION_ID`). Note that the `Constants.NULL_VERSION_ID` is a valid version ID and is not the same as not having a version ID.

      戻り値:
        The version ID which uniquely identifies this version of an object.
      関連項目:
        `setVersionId(String)`

    - #### setVersionId

          public void setVersionId(java.lang.String id)

      Sets the version ID which uniquely identifies this version of an object.
      パラメータ:
        `id` - The version ID which uniquely identifies this version of an object.
      関連項目:
        `getVersionId()`

    - #### isLatest

          public boolean isLatest()

      Returns whether or not this version is the latest version for the associated object.
      戻り値:
        The value `true` if this version is the latest version for the associated object; returns the value `false` if otherwise.

    - #### setIsLatest

          public void setIsLatest(boolean isLatest)

      For internal use only. Sets whether this version is the latest version for the associated object. This method is intended to be used only by the client internals and developers shouldn't need to use it.
      パラメータ:
        `isLatest` - True if this version represents the latest version for the associated object in S3.

    - #### getLastModified

          public java.util.Date getLastModified()

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

    - #### setLastModified

          public void setLastModified(java.util.Date lastModified)

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

    - #### getOwner

          public Owner getOwner()

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

    - #### setOwner

          public void setOwner(Owner owner)

      For internal use only. Sets the owner of this version. This method is intended to be used only by the client internals and developers shouldn't need to use it.
      パラメータ:
        `owner` - The owner of this version.
      関連項目:
        `getOwner()`

    - #### isDeleteMarker

          public boolean isDeleteMarker()

      Returns whether or not this version represents a delete marker.

      Delete markers are special types of versions that have no data associated with them. When deleting a versioned object in Amazon S3 without specifying an explicit version ID, a new delete marker is created as the latest version of that object to mark that the object was deleted. This occurs even though the previous versions still exist in Amazon S3.

      Delete markers have no data associated with them and therefore have no associated ACL, size or storage class. Only requesters with read access to a bucket can learn of their existence by listing the versions in a bucket.

      戻り値:
        The value `true` if this version represents a delete marker. Returns the value `false` if otherwise.

    - #### setIsDeleteMarker

          public void setIsDeleteMarker(boolean isDeleteMarker)

      Intended for internal use only in the Amazon S3 client code. Sets the value of the `isDeleteMarker` property to record if this is a delete marker or not.
      パラメータ:
        `isDeleteMarker` - Specify `true`if this version summary represents a delete marker, otherwise `false`if it is a regular version summary.````

    - #### getETag

          public java.lang.String getETag()

      Gets the hex encoded 128-bit MD5 hash of this version's contents as computed by Amazon S3.
      戻り値:
        The hex encoded 128-bit MD5 hash of this version'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 version's contents as computed by Amazon S3.
      パラメータ:
        `eTag` - The hex encoded 128-bit MD5 hash of this version's contents as computed by Amazon S3.
      関連項目:
        `getETag()`

    - #### getStorageClass

          public java.lang.String getStorageClass()

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

    - #### setStorageClass

          public void setStorageClass(java.lang.String storageClass)

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

    - #### getSize

          public long getSize()

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

    - #### setSize

          public void setSize(long size)

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