Enum CloudWatchRegion
- java.lang.Object
-
- java.lang.Enum<CloudWatchRegion>
-
- com.amazonaws.services.route53.model.CloudWatchRegion
-
- All Implemented Interfaces:
Serializable
,Comparable<CloudWatchRegion>
public enum CloudWatchRegion extends Enum<CloudWatchRegion>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ApNortheast1
ApNortheast2
ApSoutheast1
ApSoutheast2
EuCentral1
EuWest1
SaEast1
UsEast1
UsWest1
UsWest2
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CloudWatchRegion
fromValue(String value)
Use this in place of valueOf.String
toString()
static CloudWatchRegion
valueOf(String name)
Returns the enum constant of this type with the specified name.static CloudWatchRegion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UsEast1
public static final CloudWatchRegion UsEast1
-
UsWest1
public static final CloudWatchRegion UsWest1
-
UsWest2
public static final CloudWatchRegion UsWest2
-
EuCentral1
public static final CloudWatchRegion EuCentral1
-
EuWest1
public static final CloudWatchRegion EuWest1
-
ApSoutheast1
public static final CloudWatchRegion ApSoutheast1
-
ApSoutheast2
public static final CloudWatchRegion ApSoutheast2
-
ApNortheast1
public static final CloudWatchRegion ApNortheast1
-
ApNortheast2
public static final CloudWatchRegion ApNortheast2
-
SaEast1
public static final CloudWatchRegion SaEast1
-
-
Method Detail
-
values
public static CloudWatchRegion[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (CloudWatchRegion c : CloudWatchRegion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CloudWatchRegion valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<CloudWatchRegion>
-
fromValue
public static CloudWatchRegion fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- CloudWatchRegion corresponding to the value
-
-