ResourceInstance createBlueprintResource(String blueprintName) {
    return createResource(Resource.Type.Blueprint,
        Collections.singletonMap(Resource.Type.Blueprint, blueprintName));
  }
Create a blueprint resource instance.

@param blueprintName blueprint name

@return a blueprint resource instance
ambari-server/src/main/java/org/apache/ambari/server/api/services/BlueprintService.java