com.obs.services.model

## 类 LifecycleConfiguration.Expiration

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

- 封闭类:
    LifecycleConfiguration

      public class LifecycleConfiguration.Expiration
      extends LifecycleConfiguration.TimeEvent

  Expiration time of an object

- - ### 字段概要

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

      `date, days, storageClass`

  - ### 构造器概要

    构造器
    构造器和说明
    `Expiration()`
    `Expiration(Date date)` Constructor
    `Expiration(Integer days)` Constructor

  - ### 方法概要

    所有方法 实例方法 具体方法
    限定符和类型 | 方法和说明
    --- | ---
    `Date` | `getDate()` Obtain the object expiration date.
    `Integer` | `getDays()` Obtain the expiration time of the object.
    `void` | `setDate(Date date)` Obtain the object expiration date.
    `void` | `setDays(Integer days)` Set the object expiration time.
    `String` | `toString()`

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

      `equals, hashCode`

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

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

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

    - #### Expiration

          public Expiration()

    - #### Expiration

          public Expiration(Date date)

      Constructor
      参数:
        `date` - A specified date in which the object will expire

    - #### Expiration

          public Expiration(Integer days)

      Constructor
      参数:
        `days` - Object expiration time, specifying how many days after creation will the object expire

  - ### 方法详细资料

    - #### getDays

          public Integer getDays()

      Obtain the expiration time of the object.
      返回:
        Object expiration time, specifying how many days after creation will the object expire

    - #### setDays

          public void setDays(Integer days)

      Set the object expiration time.
      参数:
        `days` - Object expiration time, specifying how many days after creation will the object expire

    - #### getDate

          public Date getDate()

      Obtain the object expiration date.
      返回:
        A specified date in which the object will expire

    - #### setDate

          public void setDate(Date date)

      Obtain the object expiration date.
      参数:
        `date` - A specified date in which the object will expire

    - #### toString

          public String toString()

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

Copyright © 2021. All rights reserved.