com.obs.services.model

## 类 LifecycleConfiguration.NoncurrentVersionTransition

- java.lang.Object
- - com.obs.services.model.LifecycleConfiguration.TimeEvent
  - - com.obs.services.model.LifecycleConfiguration.NoncurrentVersionTransition

- 封闭类:
    LifecycleConfiguration

      public class LifecycleConfiguration.NoncurrentVersionTransition
      extends LifecycleConfiguration.TimeEvent

  Transition policy for noncurrent versions

- - ### 字段概要

    - ### 从类继承的字段 com.obs.services.model.LifecycleConfiguration.TimeEvent

      `date, days, storageClass`

  - ### 构造器概要

    构造器
    构造器和说明
    `NoncurrentVersionTransition()`
    `NoncurrentVersionTransition(Integer days, StorageClassEnum storageClass)` Constructor
    `NoncurrentVersionTransition(Integer days, String storageClass)` 已过时。

  - ### 方法概要

    所有方法 实例方法 具体方法 已过时的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Integer` | `getDays()` Obtain the transition time of a noncurrent object version.
    `StorageClassEnum` | `getObjectStorageClass()` Obtain the storage class of the noncurrent object version after transition.
    `String` | `getStorageClass()` 已过时。
    `void` | `setDays(Integer days)` Set the transition time of a noncurrent object version.
    `void` | `setObjectStorageClass(StorageClassEnum storageClass)` Set the storage class of the noncurrent object version after transition.
    `void` | `setStorageClass(String storageClass)` 已过时。
    `String` | `toString()`

    - ### 从类继承的方法 com.obs.services.model.LifecycleConfiguration.TimeEvent

      `equals, hashCode`

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

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

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

    - #### NoncurrentVersionTransition

          public NoncurrentVersionTransition()

    - #### NoncurrentVersionTransition

          @Deprecated
          public NoncurrentVersionTransition(Integer days,
                                                         String storageClass)

      已过时。
      Constructor
      参数:
        `days` - Transition time of the noncurrent object version, which indicates the number of days after which the object will be transit since it becomes a noncurrent version
        `storageClass` - Storage class of the noncurrent object version after transition

    - #### NoncurrentVersionTransition

          public NoncurrentVersionTransition(Integer days,
                                             StorageClassEnum storageClass)

      Constructor
      参数:
        `days` - Transition time of the noncurrent object version, which indicates the number of days after which the object will be transit since it becomes a noncurrent version
        `storageClass` - Storage class of the noncurrent object version after transition

  - ### 方法详细资料

    - #### getDays

          public Integer getDays()

      Obtain the transition time of a noncurrent object version.
      返回:
        Transition time of the noncurrent object version, which indicates the number of days after which the object will be transit since it becomes a noncurrent version

    - #### setDays

          public void setDays(Integer days)

      Set the transition time of a noncurrent object version.
      参数:
        `days` - Transition time of the noncurrent object version, which indicates the number of days after which the object will be transit since it becomes a noncurrent version

    - #### getStorageClass

          @Deprecated
          public String getStorageClass()

      已过时。
      Obtain the storage class of the noncurrent object version after transition.
      返回:
        Storage class of the noncurrent object version after transition
      另请参阅:
        `getObjectStorageClass()`

    - #### setStorageClass

          @Deprecated
          public void setStorageClass(String storageClass)

      已过时。
      Set the storage class of the noncurrent object version after transition.
      参数:
        `storageClass` - Storage class of the noncurrent object version after transition
      另请参阅:
        `setObjectStorageClass(StorageClassEnum storageClass)`

    - #### getObjectStorageClass

          public StorageClassEnum getObjectStorageClass()

      Obtain the storage class of the noncurrent object version after transition.
      返回:
        Storage class of the noncurrent object version after transition

    - #### setObjectStorageClass

          public void setObjectStorageClass(StorageClassEnum storageClass)

      Set the storage class of the noncurrent object version after transition.
      参数:
        `storageClass` - Storage class of the noncurrent object version after transition

    - #### toString

          public String toString()

      覆盖:
        `toString` 在类中 `Object`

Copyright © 2021. All rights reserved.