public enum RestoreTier extends Enum<RestoreTier>
枚举常量和说明 |
---|
RESTORE_TIER_BULK
The restore job will be done in ten hours.
|
RESTORE_TIER_EXPEDITED
The restore job will be done in one hour.
|
RESTORE_TIER_STANDARD
The restore job will be done in five hours.
|
限定符和类型 | 方法和说明 |
---|---|
static RestoreTier |
parse(String tier) |
String |
toString() |
static RestoreTier |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RestoreTier[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final RestoreTier RESTORE_TIER_EXPEDITED
public static final RestoreTier RESTORE_TIER_STANDARD
public static final RestoreTier RESTORE_TIER_BULK
public static RestoreTier[] values()
for (RestoreTier c : RestoreTier.values()) System.out.println(c);
public static RestoreTier valueOf(String name)
name
- 要返回的枚举常量的名称。IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量NullPointerException
- 如果参数为空值public String toString()
toString
在类中 Enum<RestoreTier>
public static RestoreTier parse(String tier)
Copyright © 2020. All Rights Reserved.