## 类 com.aliyun.oss.model.LifecycleRule.StorageTransition
的使用

- 使用LifecycleRule.StorageTransition的程序包
  程序包 | 说明
  --- | ---
  com.aliyun.oss.model |

- - ### com.aliyun.oss.model中LifecycleRule.StorageTransition的使用

    返回LifecycleRule.StorageTransition的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `LifecycleRule.StorageTransition` | LifecycleRule.StorageTransition.`withCreatedBeforeDate(Date createdBeforeDate)`
    `LifecycleRule.StorageTransition` | LifecycleRule.StorageTransition.`withExpirationDays(Integer expirationDays)`
    `LifecycleRule.StorageTransition` | LifecycleRule.StorageTransition.`withStrorageClass(StorageClass storageClass)`

    返回变量类型为LifecycleRule.StorageTransition的类型的com.aliyun.oss.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `List<LifecycleRule.StorageTransition>` | LifecycleRule.`getStorageTransition()`

    类型变量类型为LifecycleRule.StorageTransition的com.aliyun.oss.model中的方法参数
    限定符和类型 | 方法和说明
    --- | ---
    `void` | LifecycleRule.`setStorageTransition(List<LifecycleRule.StorageTransition> storageTransitions)`

    类型变量类型为LifecycleRule.StorageTransition的com.aliyun.oss.model中的构造器参数
    构造器和说明
    `LifecycleRule(String id, String prefix, LifecycleRule.RuleStatus status, Date expirationTime, LifecycleRule.AbortMultipartUpload abortMultipartUpload, List<LifecycleRule.StorageTransition> storageTransitions)`
    `LifecycleRule(String id, String prefix, LifecycleRule.RuleStatus status, Date expirationTime, List<LifecycleRule.StorageTransition> storageTransitions)`
    `LifecycleRule(String id, String prefix, LifecycleRule.RuleStatus status, int expirationDays, LifecycleRule.AbortMultipartUpload abortMultipartUpload, List<LifecycleRule.StorageTransition> storageTransitions)`
    `LifecycleRule(String id, String prefix, LifecycleRule.RuleStatus status, int expirationDays, List<LifecycleRule.StorageTransition> storageTransitions)`

Copyright © 2020. All Rights Reserved.