public enum RegionInfo extends Enum<RegionInfo>
com.amazonaws.regions.Regions
to avoid upgrading SDK for newer regionsModifier and Type | Method and Description |
---|---|
static RegionInfo |
fromName(String regionName) |
String |
getDescription() |
String |
getName() |
static List<String> |
getRegionNames() |
static RegionInfo |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RegionInfo[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegionInfo GovCloud
public static final RegionInfo US_GOV_EAST_1
public static final RegionInfo US_EAST_1
public static final RegionInfo US_EAST_2
public static final RegionInfo US_WEST_1
public static final RegionInfo US_WEST_2
public static final RegionInfo US_ISO_EAST_1
public static final RegionInfo US_ISOB_EAST_1
public static final RegionInfo US_ISO_WEST_1
public static final RegionInfo EU_WEST_1
public static final RegionInfo EU_WEST_2
public static final RegionInfo EU_WEST_3
public static final RegionInfo EU_CENTRAL_1
public static final RegionInfo EU_NORTH_1
public static final RegionInfo EU_SOUTH_1
public static final RegionInfo AF_SOUTH_1
public static final RegionInfo AP_EAST_1
public static final RegionInfo AP_SOUTH_1
public static final RegionInfo AP_SOUTHEAST_1
public static final RegionInfo AP_SOUTHEAST_2
public static final RegionInfo AP_NORTHEAST_1
public static final RegionInfo AP_NORTHEAST_2
public static final RegionInfo SA_EAST_1
public static final RegionInfo CN_NORTH_1
public static final RegionInfo CN_NORTHWEST_1
public static final RegionInfo CA_CENTRAL_1
public static final RegionInfo ME_SOUTH_1
public static final RegionInfo AP_NORTHEAST_3
public static RegionInfo[] values()
for (RegionInfo c : RegionInfo.values()) System.out.println(c);
public static RegionInfo 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 getDescription()
public static RegionInfo fromName(String regionName)
Copyright © 2016–2023. All rights reserved.