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

@return the resource class name
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewResourceEntity.java