public static enum StorageTierInfo.StorageTier extends Enum<StorageTierInfo.StorageTier>
Enum Constant and Description |
---|
LONGTERM |
LOWFREQUENCY |
STANDARD
分层存储的标准存储(Standard)枚举类型: 标准存储(Standard),低频存储(LowFrequency),长期存储(Longterm)
|
Modifier and Type | Method and Description |
---|---|
String |
getChargeSizeName()
获取从服务端中返回的可计量的分层存储大小对应的字段名,用于project级别
|
String |
getName()
获取当前分层存储类型的名称
|
String |
getSizeName()
获取从服务端中返回的当前分层存储类型大小对应的字段名,用于table/partition级别
|
static StorageTierInfo.StorageTier |
getStorageTierByName(String tier)
根据字符名称得到对应的分层存储的枚举类型
|
static StorageTierInfo.StorageTier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StorageTierInfo.StorageTier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StorageTierInfo.StorageTier STANDARD
public static final StorageTierInfo.StorageTier LOWFREQUENCY
public static final StorageTierInfo.StorageTier LONGTERM
public static StorageTierInfo.StorageTier[] values()
for (StorageTierInfo.StorageTier c : StorageTierInfo.StorageTier.values()) System.out.println(c);
public static StorageTierInfo.StorageTier valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public String getSizeName()
public String getChargeSizeName()
public static StorageTierInfo.StorageTier getStorageTierByName(String tier)
tier
- 分层存储类型的字符串Copyright © 2023 Alibaba Cloud Computing. All rights reserved.