com.amazonaws.services.s3.model

## クラス BucketLifecycleConfiguration.Transition

- java.lang.Object
- - com.amazonaws.services.s3.model.BucketLifecycleConfiguration.Transition

- 含まれているクラス:
    BucketLifecycleConfiguration

      public static class BucketLifecycleConfiguration.Transition
      extends java.lang.Object

  The transition attribute of the rule describing how this object will move between different storage classes in Amazon S3.

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

    コンストラクタ
    コンストラクタと説明
    `BucketLifecycleConfiguration.Transition()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `java.util.Date` | `getDate()` Returns the expiration date of this object.
    `int` | `getDays()` Returns the time in days from an object's creation to its expiration.
    `StorageClass` | `getStorageClass()` Returns the storage class of this object.
    `void` | `setDate(java.util.Date expirationDate)` Set the expiration date of this object.
    `void` | `setDays(int expirationInDays)` Sets the time, in days, between when an object is uploaded to the bucket and when it expires.
    `void` | `setStorageClass(StorageClass storageClass)` Sets the storage class of this object.
    `BucketLifecycleConfiguration.Transition` | `withDate(java.util.Date expirationDate)` Set the expiration date of this object and returns a reference to this object(Transition) for method chaining.
    `BucketLifecycleConfiguration.Transition` | `withDays(int expirationInDays)` Sets the time, in days, between when an object is uploaded to the bucket and when it expires, and returns a reference to this object for method chaining.
    `BucketLifecycleConfiguration.Transition` | `withStorageClass(StorageClass storageClass)` Sets the storage class of this object and returns a reference to this object(Transition) for method chaining.

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

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

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

    - #### BucketLifecycleConfiguration.Transition

          public BucketLifecycleConfiguration.Transition()

  - ### メソッドの詳細

    - #### setDays

          public void setDays(int expirationInDays)

      Sets the time, in days, between when an object is uploaded to the bucket and when it expires.

    - #### getDays

          public int getDays()

      Returns the time in days from an object's creation to its expiration.

    - #### withDays

          public BucketLifecycleConfiguration.Transition withDays(int expirationInDays)

      Sets the time, in days, between when an object is uploaded to the bucket and when it expires, and returns a reference to this object for method chaining.
      関連項目:
        `BucketLifecycleConfiguration.Rule.setExpirationInDays(int)`

    - #### setStorageClass

          public void setStorageClass(StorageClass storageClass)

      Sets the storage class of this object.

    - #### getStorageClass

          public StorageClass getStorageClass()

      Returns the storage class of this object.

    - #### withStorageClass

          public BucketLifecycleConfiguration.Transition withStorageClass(StorageClass storageClass)

      Sets the storage class of this object and returns a reference to this object(Transition) for method chaining.

    - #### setDate

          public void setDate(java.util.Date expirationDate)

      Set the expiration date of this object.

    - #### getDate

          public java.util.Date getDate()

      Returns the expiration date of this object.

    - #### withDate

          public BucketLifecycleConfiguration.Transition withDate(java.util.Date expirationDate)

      Set the expiration date of this object and returns a reference to this object(Transition) for method chaining.