Package | Description |
---|---|
com.amazonaws.regions |
Modifier and Type | Method and Description |
---|---|
static RegionMetadata |
RegionUtils.getRegionMetadata()
Returns the current set of region metadata for this process,
initializing it if it has not yet been explicitly initialized before.
|
static RegionMetadata |
RegionUtils.loadMetadataFromFile(File file)
Loads a set of region metadata from an XML file on disk.
|
static RegionMetadata |
RegionUtils.loadMetadataFromInputStream(InputStream stream)
Loads a set of region metadata from an arbitrary
InputStream
containing an XML file. |
static RegionMetadata |
RegionUtils.loadMetadataFromResource(Class<?> clazz,
String name)
Loads a set of region metadata from an XML file stored as a resource of
the classloader used to load the given class.
|
static RegionMetadata |
RegionUtils.loadMetadataFromResource(ClassLoader classLoader,
String name)
Loads a set of region metadata from an XML file stored as a resource
of the given classloader.
|
static RegionMetadata |
RegionUtils.loadMetadataFromResource(String name)
Loads a set of region metadata from an XML file stored as a resource
of the classloader used to load the RegionUtils class.
|
static RegionMetadata |
RegionUtils.loadMetadataFromURI(URI uri)
Loads a set of region metadata by downloading an XML file from the
given URI and parsing it.
|
static RegionMetadata |
RegionUtils.loadMetadataFromURI(URI uri,
ClientConfiguration config)
Loads a set of region metadata by downloading an XML file from the
given URI and parsing it.
|
static RegionMetadata |
RegionMetadataParser.parse(InputStream input)
Parses the specified input stream and returns a
RegionMetadata
object. |
Modifier and Type | Method and Description |
---|---|
static void |
RegionUtils.initializeWithMetadata(RegionMetadata metadata)
Directly sets the singleton
RegionMetadata instance. |
Copyright © 2015. All rights reserved.