Class 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
    • Field Detail

      • INSTANCE

        protected static final com.amazonaws.regions.AwsRegionProvider INSTANCE
      • DEFAULT

        protected static final com.amazonaws.regions.AwsRegionProvider DEFAULT
      • 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, or null 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 class com.amazonaws.regions.AwsRegionProvider