public String getStackId() {
    return m_stackId;
  }
Gets the ID of the stack, such as {@code STACK-1.0.0}.

@return the stack id.
ambari-server-spi/src/main/java/org/apache/ambari/spi/RepositoryVersion.java