类 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
  • 构造器详细资料

    • 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
      另请参阅:
    • 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
      另请参阅:
    • 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