public void setHostName(String hostName) {
    this.hostName = hostName;
  }
Sets the name of the host that the alert is for.

@param hostName
         the name of the host or {@code null} if none.
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/AlertHistoryEntity.java