com.aliyun.oss.model

## 类 LifecycleRule.StorageTransition

- java.lang.Object
- - com.aliyun.oss.model.LifecycleRule.StorageTransition

- 封闭类:
    LifecycleRule

      public static class LifecycleRule.StorageTransition
      extends Object

- - ### 构造器概要

    构造器
    构造器和说明
    `LifecycleRule.StorageTransition()`
    `LifecycleRule.StorageTransition(Date createdBeforeDate, StorageClass storageClass)`
    `LifecycleRule.StorageTransition(Integer expirationDays, StorageClass storageClass)`

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `Date` | `getCreatedBeforeDate()`
    `Integer` | `getExpirationDays()`
    `StorageClass` | `getStorageClass()`
    `boolean` | `hasCreatedBeforeDate()`
    `boolean` | `hasExpirationDays()`
    `void` | `setCreatedBeforeDate(Date createdBeforeDate)`
    `void` | `setExpirationDays(Integer expirationDays)`
    `void` | `setStorageClass(StorageClass storageClass)`
    `LifecycleRule.StorageTransition` | `withCreatedBeforeDate(Date createdBeforeDate)`
    `LifecycleRule.StorageTransition` | `withExpirationDays(Integer expirationDays)`
    `LifecycleRule.StorageTransition` | `withStrorageClass(StorageClass storageClass)`

    - ### 从类继承的方法 java.lang.Object

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

- - ### 构造器详细资料

    - #### LifecycleRule.StorageTransition

          public LifecycleRule.StorageTransition()

    - #### LifecycleRule.StorageTransition

          public LifecycleRule.StorageTransition(Integer expirationDays,
                                         StorageClass storageClass)

    - #### LifecycleRule.StorageTransition

          public LifecycleRule.StorageTransition(Date createdBeforeDate,
                                         StorageClass storageClass)

  - ### 方法详细资料

    - #### getExpirationDays

          public Integer getExpirationDays()

    - #### setExpirationDays

          public void setExpirationDays(Integer expirationDays)

    - #### withExpirationDays

          public LifecycleRule.StorageTransition withExpirationDays(Integer expirationDays)

    - #### hasExpirationDays

          public boolean hasExpirationDays()

    - #### getCreatedBeforeDate

          public Date getCreatedBeforeDate()

    - #### setCreatedBeforeDate

          public void setCreatedBeforeDate(Date createdBeforeDate)

    - #### withCreatedBeforeDate

          public LifecycleRule.StorageTransition withCreatedBeforeDate(Date createdBeforeDate)

    - #### hasCreatedBeforeDate

          public boolean hasCreatedBeforeDate()

    - #### getStorageClass

          public StorageClass getStorageClass()

    - #### setStorageClass

          public void setStorageClass(StorageClass storageClass)

    - #### withStrorageClass

          public LifecycleRule.StorageTransition withStrorageClass(StorageClass storageClass)

Copyright © 2020. All Rights Reserved.