Class NuxeoAWSRegionProvider

java.lang.Object
org.nuxeo.runtime.aws.NuxeoAWSRegionProvider
All Implemented Interfaces:
software.amazon.awssdk.regions.providers.AwsRegionProvider

public class NuxeoAWSRegionProvider extends Object implements software.amazon.awssdk.regions.providers.AwsRegionProvider
AWS Region Provider that uses Nuxeo configuration, or uses the default AWS chain as a fallback.
Since:
10.3
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final software.amazon.awssdk.regions.providers.AwsRegionProvider
     
    protected static final software.amazon.awssdk.regions.Region
     
    protected final String
     
    protected static final software.amazon.awssdk.regions.providers.AwsRegionProvider
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a new Nuxeo AWS Region Provider for the default configuration.
    Creates a new Nuxeo AWS Region Provider for the given configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    static software.amazon.awssdk.regions.providers.AwsRegionProvider
    Gets a Nuxeo AWS Region Provider for the default configuration.
    software.amazon.awssdk.regions.Region
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INSTANCE

      protected static final software.amazon.awssdk.regions.providers.AwsRegionProvider INSTANCE
    • DEFAULT

      protected static final software.amazon.awssdk.regions.providers.AwsRegionProvider DEFAULT
    • DEFAULT_REGION

      protected static final software.amazon.awssdk.regions.Region DEFAULT_REGION
    • id

      protected final String id
  • Constructor Details

    • 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, or null for the default
      Since:
      11.1
  • Method Details

    • getInstance

      public static software.amazon.awssdk.regions.providers.AwsRegionProvider getInstance()
      Gets a Nuxeo AWS Region Provider for the default configuration.
    • getRegion

      public software.amazon.awssdk.regions.Region getRegion()
      Specified by:
      getRegion in interface software.amazon.awssdk.regions.providers.AwsRegionProvider