public RequestSignerRegistry register(RequestSigner requestSigner, Class<? extends RequestSigner> signerType) {
        Map<Class<? extends RequestSigner>, RequestSigner> registeredSigners = new HashMap<>();
        registeredSigners.putAll(signerForType);
        registeredSigners.put(signerType, requestSigner);
        return new RequestSignerRegistry(registeredSigners);
    }
Register an requestSigner
@param requestSigner
     an instance of an RequestSigner to use for a given type
@param signerType
     the type of requestSigner that this instance will be used for
aws-java-sdk-opensdk/src/main/java/com/amazonaws/opensdk/protect/auth/RequestSignerRegistry.java