com.amazonaws.services.s3.internal

## インタフェース ObjectExpirationResult

- 既知の実装クラスのリスト:
    CompleteMultipartUploadResult, CopyObjectResult, ObjectMetadata, PutObjectResult

      public interface ObjectExpirationResult

  Interface for service responses that receive the x-amz-expiration header.
  関連項目:
    `Headers.EXPIRATION`

- - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.util.Date` | `getExpirationTime()` Returns the expiration date of the object, or null if the object is not configured to expire.
    `java.lang.String` | `getExpirationTimeRuleId()` Returns the bucket lifecycle configuration rule ID for the expiration of this object.
    `void` | `setExpirationTime(java.util.Date expiration)` Sets the expiration date of the object.
    `void` | `setExpirationTimeRuleId(java.lang.String ruleId)` Sets the bucket lifecycle configuration rule ID for the expiration of this object.

- - ### メソッドの詳細

    - #### getExpirationTime

          java.util.Date getExpirationTime()

      Returns the expiration date of the object, or null if the object is not configured to expire.

    - #### setExpirationTime

          void setExpirationTime(java.util.Date expiration)

      Sets the expiration date of the object.
      パラメータ:
        `expiration` - The date the object will expire.

    - #### getExpirationTimeRuleId

          java.lang.String getExpirationTimeRuleId()

      Returns the bucket lifecycle configuration rule ID for the expiration of this object.
      関連項目:
        `BucketLifecycleConfiguration.Rule.getId()`

    - #### setExpirationTimeRuleId

          void setExpirationTimeRuleId(java.lang.String ruleId)

      Sets the bucket lifecycle configuration rule ID for the expiration of this object.
      パラメータ:
        `ruleId` - The rule ID of this object's expiration configuration