public boolean isActive() {
    return active;
  }
Set all types and associated attributes.  Any previously existing types and
attributes are removed prior to setting the new values.

@param types map of type attributes
ambari-server/src/main/java/org/apache/ambari/server/state/StackInfo.java