public final enum

Region

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.amazon.identity.auth.device.api.authorization.Region

Class Overview

Controls region settings for the SDK. Determines which global end-point the SDK connects to.{@since 3.0 }

Summary

Enum Values
Region  AUTO  Causes the SDK to automatically determine the best end-point to connect to. 
Region  EU  Causes the SDK to connect to endpoints in Europe. 
Region  FE  Causes the SDK to connect to endpoints in Asia Pacific region. 
Region  NA  Causes the SDK to connect to endpoints in North America. 
Public Methods
String getStringValue()
Each region is associated with a unique string that will not change across versions of the SDK.
static Region valueOf(String name)
final static Region[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final Region AUTO

Causes the SDK to automatically determine the best end-point to connect to.

public static final Region EU

Causes the SDK to connect to endpoints in Europe.

public static final Region FE

Causes the SDK to connect to endpoints in Asia Pacific region.

public static final Region NA

Causes the SDK to connect to endpoints in North America.

Public Methods

public String getStringValue ()

Each region is associated with a unique string that will not change across versions of the SDK.

Returns
  • The permanent string value associated with a region.

public static Region valueOf (String name)

public static final Region[] values ()