Class SMSRegion


public class SMSRegion extends EnumDynamic<String,SMSRegion>
SMS Region

Available SMS region Regions are tied to a specific SMS API URL

Since:
1.0
See Also:
  • Field Details

    • US

      public static final SMSRegion US
      United States
    • EU

      public static final SMSRegion EU
      European Union
    • AU

      public static final SMSRegion AU
      Australia
    • BR

      public static final SMSRegion BR
      Brazil
    • CA

      public static final SMSRegion CA
      Canada
  • Method Details

    • values

      public static Stream<SMSRegion> values()
      Get list of regions
      Returns:
      List of known SMS region
    • from

      public static SMSRegion from(String value)
      Get SMS region from a String
      Parameters:
      value - String region identifier. Create an SMS Region instance if not known at compilation
      Returns:
      SMSRegion identified by the string
    • valueOf

      public static String valueOf(SMSRegion value)
      Get SMS region string identifier
      Parameters:
      value - region identifier
      Returns:
      String value identifier for region