public void setViewInstanceEntity(ViewInstanceEntity viewInstance) {
    this.viewInstance = viewInstance;
  }
Set the view instance

@param viewInstance  the view instance
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewInstanceDataEntity.java