class ImmutableCreditRatesProvider implements CreditRatesProvider, ImmutableBean, Serializable {

  public static ImmutableCreditRatesProvider.Builder builder() {
    return new ImmutableCreditRatesProvider.Builder();
  }

  private  ImmutableCreditRatesProvider(
      LocalDate valuationDate,
      Map<Pair<StandardId, Currency>, LegalEntitySurvivalProbabilities> creditCurves,
      Map<Currency, CreditDiscountFactors> discountCurves,
      Map<StandardId, RecoveryRates> recoveryRateCurves);

}