public void setInstances(Collection<ViewInstanceEntity> instances) {
    this.instances = instances;
  }
Set the view instances.

@param instances  the instances
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ViewEntity.java