public void resolveRequestEndpoint(Request<?> request) {
        resolveRequestEndpoint(request, null);
    }
Set the request's endpoint and resource path with the same region it was originally
configured for

@param request Request to set endpoint for
aws-java-sdk-s3/src/main/java/com/amazonaws/services/s3/internal/S3RequestEndpointResolver.java