com.amazonaws.services.s3.model

## クラス CopyPartResult

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

- すべての実装されたインタフェース:
    ServerSideEncryptionResult

      public class CopyPartResult
      extends java.lang.Object
      implements ServerSideEncryptionResult

  Result of the copy part operation.

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getETag()` Gets the ETag value for the new part that was created in the associated `CopyPartRequest`.
    `java.util.Date` | `getLastModifiedDate()` Gets the date the newly copied part was last modified.
    `PartETag` | `getPartETag()` Returns an identifier which identifies the copy part by its part number and the entity tag computed from the part's data.
    `int` | `getPartNumber()` Gets the part number of the newly copied part.
    `java.lang.String` | `getServerSideEncryption()` Returns the server-side encryption algorithm for the newly created object, or null if none was used.
    `java.lang.String` | `getVersionId()` Gets the version ID of the source object.
    `void` | `setETag(java.lang.String etag)` Sets the ETag value for the new part that was created from the associated copy object request.
    `void` | `setLastModifiedDate(java.util.Date lastModifiedDate)` Sets the date the newly copied part was last modified.
    `void` | `setPartNumber(int partNumber)` Sets the part number of the newly copied part.
    `void` | `setServerSideEncryption(java.lang.String serverSideEncryption)` Sets the server-side encryption algorithm for the newly created object.
    `void` | `setVersionId(java.lang.String versionId)` Sets the version ID of the source object.

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

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

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

    - #### CopyPartResult

          public CopyPartResult()

  - ### メソッドの詳細

    - #### getPartNumber

          public int getPartNumber()

      Gets the part number of the newly copied part.

    - #### setPartNumber

          public void setPartNumber(int partNumber)

      Sets the part number of the newly copied part.
      パラメータ:
        `partNumber` - the part number of the newly uploaded part.

    - #### getETag

          public java.lang.String getETag()

      Gets the ETag value for the new part that was created in the associated `CopyPartRequest`.
      戻り値:
        The ETag value for the new part.
      関連項目:
        `setETag(String)`

    - #### setETag

          public void setETag(java.lang.String etag)

      Sets the ETag value for the new part that was created from the associated copy object request.
      パラメータ:
        `etag` - The ETag value for the new part.
      関連項目:
        `getETag()`

    - #### getPartETag

          public PartETag getPartETag()

      Returns an identifier which identifies the copy part by its part number and the entity tag computed from the part's data. This information is later needed to complete a multipart copy.
      戻り値:
        An identifier which identifies the copy part by its part number and the entity tag computed from the part's data.

    - #### getLastModifiedDate

          public java.util.Date getLastModifiedDate()

      Gets the date the newly copied part was last modified.
      戻り値:
        The date the newly copied part was last modified.
      関連項目:
        `setLastModifiedDate(Date)`

    - #### setLastModifiedDate

          public void setLastModifiedDate(java.util.Date lastModifiedDate)

      Sets the date the newly copied part was last modified.
      パラメータ:
        `lastModifiedDate` - The date the new, copied part was last modified.
      関連項目:
        `getLastModifiedDate()`

    - #### getVersionId

          public java.lang.String getVersionId()

      Gets the version ID of the source object. This field is only present if object versioning has been enabled for the bucket the object was copied from.
      戻り値:
        The version ID of the newly copied object.
      関連項目:
        `setVersionId(String)`

    - #### setVersionId

          public void setVersionId(java.lang.String versionId)

      Sets the version ID of the source object.
      パラメータ:
        `versionId` - The version ID of the source object.
      関連項目:
        `getVersionId()`

    - #### getServerSideEncryption

          public java.lang.String getServerSideEncryption()

      Returns the server-side encryption algorithm for the newly created object, or null if none was used.
      定義:
        `getServerSideEncryption` インタフェース内 `ServerSideEncryptionResult`

    - #### setServerSideEncryption

          public void setServerSideEncryption(java.lang.String serverSideEncryption)

      Sets the server-side encryption algorithm for the newly created object.
      定義:
        `setServerSideEncryption` インタフェース内 `ServerSideEncryptionResult`
      パラメータ:
        `serverSideEncryption` - The server-side encryption algorithm for the new object.