Package com.sinch.sdk.models
Class ConversationRegion
java.lang.Object
com.sinch.sdk.core.utils.EnumDynamic<String,ConversationRegion>
com.sinch.sdk.models.ConversationRegion
Conversation Region
Available Conversation Regions. Regions are tied to a specific Conversation API URL
- Since:
- 1.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConversationRegion
Brazilstatic final ConversationRegion
European Unionstatic final ConversationRegion
United States -
Method Summary
Modifier and TypeMethodDescriptionstatic ConversationRegion
Get region from a Stringstatic String
valueOf
(ConversationRegion value) Get region string identifierstatic Stream
<ConversationRegion> values()
Get list of regionsMethods inherited from class com.sinch.sdk.core.utils.EnumDynamic
equals, hashCode, toString, value
-
Field Details
-
US
United States -
EU
European Union -
BR
Brazil
-
-
Method Details
-
values
Get list of regions- Returns:
- List of known region
-
from
Get region from a String- Parameters:
value
- String region identifier. Create an Region instance if not known at compilation- Returns:
- ConversationRegion identified by the string
-
valueOf
Get region string identifier- Parameters:
value
- region identifier- Returns:
- String value identifier for region
-