Enum Region

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<Region>

    public enum Region
    extends java.lang.Enum<Region>
    • Enum Constant Detail

      • US

        public static final Region US
      • US_WEST_1

        public static final Region US_WEST_1
      • US_WEST_2

        public static final Region US_WEST_2
      • EU

        public static final Region EU
      • EU_CENTRAL_1

        public static final Region EU_CENTRAL_1
      • AP_SOUTHEAST_1

        public static final Region AP_SOUTHEAST_1
      • AP_SOUTHEAST_2

        public static final Region AP_SOUTHEAST_2
      • AP_NORTHEAST_1

        public static final Region AP_NORTHEAST_1
      • SA_EAST_1

        public static final Region SA_EAST_1
    • Method Detail

      • values

        public static Region[] 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 (Region c : Region.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Region valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • fromConstraint

        public static Region fromConstraint​(java.lang.String constraint)
      • getConstraint

        public java.lang.String getConstraint()