class ExternalIdSearch implements ImmutableBean, Iterable<ExternalId>, Serializable {

  public static ExternalIdSearch of() {
    return new ExternalIdSearch(ExternalIdSearchType.ANY, ImmutableSet.<ExternalId>of());
  }

  private  ExternalIdSearch(ExternalIdSearchType searchType, Iterable<ExternalId> externalIds);
  private  ExternalIdSearch(
      Set<ExternalId> externalIds,
      ExternalIdSearchType searchType);

}