## 类的使用
com.obs.services.model.RestoreTierEnum

- 使用RestoreTierEnum的程序包
  程序包 | 说明
  --- | ---
  com.obs.services.model |

- - ### com.obs.services.model中RestoreTierEnum的使用

    返回RestoreTierEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `RestoreTierEnum` | RestoreObjectsRequest.`getRestoreTier()` Obtain the restore option.
    `RestoreTierEnum` | RestoreObjectRequest.`getRestoreTier()` Obtain the restore option.
    `static RestoreTierEnum` | RestoreTierEnum.`getValueFromCode(String code)`
    `static RestoreTierEnum` | RestoreTierEnum.`valueOf(String name)` 返回带有指定名称的该类型的枚举常量。
    `static RestoreTierEnum[]` | RestoreTierEnum.`values()` 按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。

    参数类型为RestoreTierEnum的com.obs.services.model中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `void` | RestoreObjectsRequest.`setRestoreTier(RestoreTierEnum tier)` Set the restore option.
    `void` | RestoreObjectRequest.`setRestoreTier(RestoreTierEnum tier)` Set the restore option.

    参数类型为RestoreTierEnum的com.obs.services.model中的构造器
    构造器和说明
    `RestoreObjectRequest(String bucketName, String objectKey, String versionId, int days, RestoreTierEnum tier)` Constructor
    `RestoreObjectsRequest(String bucketName, int days, RestoreTierEnum tier)` Constructor

Copyright © 2021. All rights reserved.