Package org.nuxeo.runtime.aws
Class NuxeoAWSRegionProvider
- java.lang.Object
-
- com.amazonaws.regions.AwsRegionProvider
-
- org.nuxeo.runtime.aws.NuxeoAWSRegionProvider
-
public class NuxeoAWSRegionProvider extends com.amazonaws.regions.AwsRegionProvider
AWS Region Provider that uses Nuxeo configuration, or uses the default AWS chain as a fallback.- Since:
- 10.3
-
-
Constructor Summary
Constructors Constructor Description NuxeoAWSRegionProvider()
Creates a new Nuxeo AWS Region Provider for the default configuration.NuxeoAWSRegionProvider(String id)
Creates a new Nuxeo AWS Region Provider for the given configuration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.amazonaws.regions.AwsRegionProvider
getInstance()
Gets a Nuxeo AWS Region Provider for the default configuration.String
getRegion()
-
-
-
Field Detail
-
INSTANCE
protected static final com.amazonaws.regions.AwsRegionProvider INSTANCE
-
DEFAULT
protected static final com.amazonaws.regions.AwsRegionProvider DEFAULT
-
DEFAULT_REGION
protected static final String DEFAULT_REGION
- See Also:
- Constant Field Values
-
id
protected final String id
-
-
Constructor Detail
-
NuxeoAWSRegionProvider
public NuxeoAWSRegionProvider()
Creates a new Nuxeo AWS Region Provider for the default configuration.
-
NuxeoAWSRegionProvider
public NuxeoAWSRegionProvider(String id)
Creates a new Nuxeo AWS Region Provider for the given configuration.- Parameters:
id
- the configuration id, ornull
for the default- Since:
- 11.1
-
-
Method Detail
-
getInstance
public static com.amazonaws.regions.AwsRegionProvider getInstance()
Gets a Nuxeo AWS Region Provider for the default configuration.
-
getRegion
public String getRegion()
- Specified by:
getRegion
in classcom.amazonaws.regions.AwsRegionProvider
-
-