Package com.sinch.sdk.models
Class SMSRegion
- java.lang.Object
-
- com.sinch.sdk.core.utils.EnumDynamic<String,SMSRegion>
-
- com.sinch.sdk.models.SMSRegion
-
public class SMSRegion extends EnumDynamic<String,SMSRegion>
SMS RegionAvailable SMS region Regions are tied to a specific SMS API URL
- Since:
- 1.0
- See Also:
- https://developers.sinch.com/docs/sms/api-reference/#base-url/
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SMSRegionfrom(String value)Get SMS region from a Stringstatic StringvalueOf(SMSRegion value)Get SMS region string identifierstatic Stream<SMSRegion>values()Get list of regions-
Methods inherited from class com.sinch.sdk.core.utils.EnumDynamic
equals, hashCode, toString, value
-
-
-
-
Method Detail
-
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
-
-