public void setResource(String resource) {
    this.resource = resource;
  }
Set the resource class name.

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