public synchronized void setTypeAttributes(String type, Map<String, Map<String, String>> typeAttributes) {
    if (configTypes == null) {
      configTypes = new HashMap<>();
    }
    configTypes.put(type, typeAttributes);
  }
Add the given type and set it's attributes.
If the type is marked for exclusion, it will not be added.

@param type           configuration type
@param typeAttributes attributes associated with the type
ambari-server/src/main/java/org/apache/ambari/server/state/ServiceInfo.java