@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    HostGroupConfigEntityPK that = (HostGroupConfigEntityPK) o;

    return this.blueprintName.equals(that.blueprintName) &&
           this.hostGroupName.equals(that.hostGroupName) &&
           this.type.equals(that.type);
  }
Set the configuration type.

@param type  configuration type
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/HostGroupConfigEntityPK.java