@Deprecated
    public static synchronized void initializeFromResource(
            final Class<?> clazz,
            final String name) {

        try {
            regionMetadata = loadMetadataFromResource(clazz, name);
        } catch (IOException exception) {
            throw new SdkClientException(
                    "Error parsing region metadata from resource " + name,
                    exception);
        }
    }
@ Deprecated public static synchronized void initializeFromResource ( final Class < ? > clazz , final String name ) { try { regionMetadata = loadMetadataFromResource ( clazz , name ) ; } catch ( IOException exception ) { throw new SdkClientException ( "Error parsing region metadata from resource " + name , exception ) ; } }
Initializes the region metadata singleton from the given resource.

@param clazz the class to use as a base for the resource
@param name  the path to the resource, relative to the given class
@throws SdkClientException on error