@Override
  public int hashCode() {
    int result = hostGroupName.hashCode();
    result = 31 * result + blueprintName.hashCode();
    result = 31 * result + name.hashCode();
    return result;
  }
Set the name of the host group component.

@param name  component name
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostGroupComponentEntityPK.java