public String getResource() {
    return resource;
  }
Get the resource class name

@return the resource classname
ambari-server/src/main/java/org/apache/ambari/server/view/configuration/ResourceConfig.java