public enum Region extends Enum<Region>
IIJ GIOストレージ&アナリシスサービスのリージョンは、ユーザが作成するバケットの保存先の 地理的な位置の選択肢です。
あるリージョンに保管されたオブジェクトは、明示的に他のリージョンへ転送しない限り 移動することはありません
Modifier and Type | Field and Description |
---|---|
static Pattern |
REGIONAL_ENDPOINT_PATTERN
Used to extract the IIJGIO regional id from an IIJGIO end point.
|
Modifier and Type | Method and Description |
---|---|
static Region |
fromValue(String regionString)
列挙型の値を、指定したリージョンID文字列から返します。
指定された文字列から を特定できなかった場合は
IllegalArgumentException 例外が投げられます。 |
String |
getFirstRegionId()
Returns the first region id or null for
Default |
String |
toString() |
static Region |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Region[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Region Default
public static final Region JP_WEST1
public static final Pattern REGIONAL_ENDPOINT_PATTERN
public static Region[] values()
for (Region c : Region.values()) System.out.println(c);
public static Region 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 static Region fromValue(String regionString) throws IllegalArgumentException
IllegalArgumentException
例外が投げられます。regionString
- リージョンID文字列IllegalArgumentException
- 指定されたリージョンIDからIIJ GIOストレージ&アナリシスサービスの
リージョンを特定できなかった場合Copyright © 2018. All rights reserved.