public void setStackName(String stackName) {
    this.stackName = stackName;
  }
Sets the name of the stack, such as "HDP".

@param stackName
         the stack name (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/StackEntity.java