Class IborCapletFloorletPeriodCurrencyAmounts.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodCurrencyAmounts>
-
- com.opengamma.strata.pricer.capfloor.IborCapletFloorletPeriodCurrencyAmounts.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<IborCapletFloorletPeriodCurrencyAmounts>
- Enclosing class:
- IborCapletFloorletPeriodCurrencyAmounts
public static final class IborCapletFloorletPeriodCurrencyAmounts.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodCurrencyAmounts>
The bean-builder forIborCapletFloorletPeriodCurrencyAmounts
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IborCapletFloorletPeriodCurrencyAmounts.Builder
amounts(Map<IborCapletFloorletPeriod,CurrencyAmount> amounts)
Sets the map of Ibor caplet/floorlet periods to the currency amount.IborCapletFloorletPeriodCurrencyAmounts
build()
Object
get(String propertyName)
IborCapletFloorletPeriodCurrencyAmounts.Builder
set(String propertyName, Object newValue)
IborCapletFloorletPeriodCurrencyAmounts.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
String
toString()
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<IborCapletFloorletPeriodCurrencyAmounts>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodCurrencyAmounts>
-
set
public IborCapletFloorletPeriodCurrencyAmounts.Builder set(String propertyName, Object newValue)
-
set
public IborCapletFloorletPeriodCurrencyAmounts.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<IborCapletFloorletPeriodCurrencyAmounts>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodCurrencyAmounts>
-
build
public IborCapletFloorletPeriodCurrencyAmounts build()
-
amounts
public IborCapletFloorletPeriodCurrencyAmounts.Builder amounts(Map<IborCapletFloorletPeriod,CurrencyAmount> amounts)
Sets the map of Ibor caplet/floorlet periods to the currency amount.- Parameters:
amounts
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodCurrencyAmounts>
-
-