@Override
  public int hashCode() {
    int result = null == clusterId ? 0 : clusterId.hashCode();
    result = 31 * result + clusterName.hashCode();
    return result;
  }
Set's this ClusterEntity's security type

@param securityType the new SecurityType
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/ClusterEntity.java