com.amazonaws.services.s3.model

## クラス PutObjectResult

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

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

      public class PutObjectResult
      extends java.lang.Object
      implements ServerSideEncryptionResult, ObjectExpirationResult

  Contains the data returned by Amazon S3 from the `putObject` operation. Use this request to access information about the new object created from the `putObject` request, such as its ETag and optional version ID.
  関連項目:
    `AmazonS3.putObject(String, String, java.io.File)`, `AmazonS3#putObject(String, String, java.io.InputStream, S3ObjectMetadata)`, `AmazonS3.putObject(PutObjectRequest)`

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.lang.String` | `getContentMd5()` Returns the content MD5.
    `java.lang.String` | `getETag()` Gets the ETag value for the newly created object.
    `java.util.Date` | `getExpirationTime()` Returns the expiration time for this object, or null if it doesn't expire.
    `java.lang.String` | `getExpirationTimeRuleId()` Returns the `BucketLifecycleConfiguration` rule ID for this object's expiration, or null if it doesn't expire.
    `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 optional version ID of the newly uploaded object.
    `void` | `setContentMd5(java.lang.String contentMd5)` Sets the content MD5.
    `void` | `setETag(java.lang.String eTag)` Sets the ETag value for the new object that was created from the associated `putObject` request.
    `void` | `setExpirationTime(java.util.Date expirationTime)` Sets the expiration time for the object.
    `void` | `setExpirationTimeRuleId(java.lang.String expirationTimeRuleId)` Sets the `BucketLifecycleConfiguration` rule ID for this object's expiration
    `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 optional version ID of the newly uploaded object.

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

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

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

    - #### PutObjectResult

          public PutObjectResult()

  - ### メソッドの詳細

    - #### getVersionId

          public java.lang.String getVersionId()

      Gets the optional version ID of the newly uploaded object. This field will be set only if object versioning is enabled for the bucket the object was uploaded to.
      戻り値:
        The optional version ID of the newly uploaded object.
      関連項目:
        `setVersionId(String)`

    - #### setVersionId

          public void setVersionId(java.lang.String versionId)

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

    - #### getETag

          public java.lang.String getETag()

      Gets the ETag value for the newly created object.
      戻り値:
        The ETag value for the new object.
      関連項目:
        `setETag(String)`

    - #### setETag

          public void setETag(java.lang.String eTag)

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

    - #### 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.

    - #### getExpirationTime

          public java.util.Date getExpirationTime()

      Returns the expiration time for this object, or null if it doesn't expire.
      定義:
        `getExpirationTime` インタフェース内 `ObjectExpirationResult`

    - #### setExpirationTime

          public void setExpirationTime(java.util.Date expirationTime)

      Sets the expiration time for the object.
      定義:
        `setExpirationTime` インタフェース内 `ObjectExpirationResult`
      パラメータ:
        `expirationTime` - The expiration time for the object.

    - #### getExpirationTimeRuleId

          public java.lang.String getExpirationTimeRuleId()

      Returns the `BucketLifecycleConfiguration` rule ID for this object's expiration, or null if it doesn't expire.
      定義:
        `getExpirationTimeRuleId` インタフェース内 `ObjectExpirationResult`
      関連項目:
        `BucketLifecycleConfiguration.Rule.getId()`

    - #### setExpirationTimeRuleId

          public void setExpirationTimeRuleId(java.lang.String expirationTimeRuleId)

      Sets the `BucketLifecycleConfiguration` rule ID for this object's expiration
      定義:
        `setExpirationTimeRuleId` インタフェース内 `ObjectExpirationResult`
      パラメータ:
        `expirationTimeRuleId` - The rule ID for this object's expiration

    - #### setContentMd5

          public void setContentMd5(java.lang.String contentMd5)

      Sets the content MD5.
      パラメータ:
        `contentMd5` - The content MD5

    - #### getContentMd5

          public java.lang.String getContentMd5()

      Returns the content MD5.