Class AbstractRegionMetadataProvider

    • Constructor Detail

      • AbstractRegionMetadataProvider

        public AbstractRegionMetadataProvider()
    • Method Detail

      • getRegionByEndpoint

        public Region getRegionByEndpoint​(String endpoint)
        Description copied from interface: RegionMetadataProvider
        Searches through all known regions to find one with any service at the specified endpoint. If no region is found with a service at that endpoint, an exception is thrown.
        Specified by:
        getRegionByEndpoint in interface RegionMetadataProvider
        Parameters:
        endpoint - The endpoint for any service residing in the desired region.
        Returns:
        The region containing any service running at the specified endpoint, otherwise an exception is thrown if no region is found with a service at the specified endpoint.