public URI resolve(Map<String, Map<String, String>> config) throws AmbariException {
    VariableReplacementHelper variableReplacer = new VariableReplacementHelper();
    String httpsProperty = variableReplacer.replaceVariables(m_httpsProperty, config);
    String httpsPropertyValue = variableReplacer.replaceVariables(m_httpsPropertyValue, config);
    return httpsProperty == null || !httpsProperty.equals(httpsPropertyValue)
      ? URI.create(String.format("http://%s", variableReplacer.replaceVariables(m_httpUri, config)))
      : URI.create(String.format("https://%s", variableReplacer.replaceVariables(m_httpsUri, config)));
  }
Get the parameterized HTTPS pattern to use.

@return the httpsPattern
ambari-server/src/main/java/org/apache/ambari/server/state/UriInfo.java