public void setStack(StackEntity stack) {
    this.stack = stack;
  }
Sets the blueprint's stack.

@param stack
         the stack to set for the blueprint (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/BlueprintEntity.java