Class IborCapletFloorletPeriodAmounts.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodAmounts>
-
- com.opengamma.strata.pricer.capfloor.IborCapletFloorletPeriodAmounts.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<IborCapletFloorletPeriodAmounts>
- Enclosing class:
- IborCapletFloorletPeriodAmounts
public static final class IborCapletFloorletPeriodAmounts.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodAmounts>
The bean-builder forIborCapletFloorletPeriodAmounts
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IborCapletFloorletPeriodAmounts.Builder
amounts(Map<IborCapletFloorletPeriod,Double> amounts)
Sets the map of Ibor caplet/floorlet periods to the double amount.IborCapletFloorletPeriodAmounts
build()
Object
get(String propertyName)
IborCapletFloorletPeriodAmounts.Builder
set(String propertyName, Object newValue)
IborCapletFloorletPeriodAmounts.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<IborCapletFloorletPeriodAmounts>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodAmounts>
-
set
public IborCapletFloorletPeriodAmounts.Builder set(String propertyName, Object newValue)
-
set
public IborCapletFloorletPeriodAmounts.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<IborCapletFloorletPeriodAmounts>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<IborCapletFloorletPeriodAmounts>
-
build
public IborCapletFloorletPeriodAmounts build()
-
amounts
public IborCapletFloorletPeriodAmounts.Builder amounts(Map<IborCapletFloorletPeriod,Double> amounts)
Sets the map of Ibor caplet/floorlet periods to the double 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<IborCapletFloorletPeriodAmounts>
-
-