Class DirectIborCapletFloorletFlatVolatilityDefinition.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<DirectIborCapletFloorletFlatVolatilityDefinition>
-
- com.opengamma.strata.pricer.capfloor.DirectIborCapletFloorletFlatVolatilityDefinition.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<DirectIborCapletFloorletFlatVolatilityDefinition>
- Enclosing class:
- DirectIborCapletFloorletFlatVolatilityDefinition
public static final class DirectIborCapletFloorletFlatVolatilityDefinition.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<DirectIborCapletFloorletFlatVolatilityDefinition>
The bean-builder forDirectIborCapletFloorletFlatVolatilityDefinition
.
-
-
Method Summary
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<DirectIborCapletFloorletFlatVolatilityDefinition>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<DirectIborCapletFloorletFlatVolatilityDefinition>
-
set
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder set(String propertyName, Object newValue)
-
set
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<DirectIborCapletFloorletFlatVolatilityDefinition>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<DirectIborCapletFloorletFlatVolatilityDefinition>
-
build
public DirectIborCapletFloorletFlatVolatilityDefinition build()
-
name
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder name(IborCapletFloorletVolatilitiesName name)
Sets the name of the volatilities.- Parameters:
name
- the new value, not null- Returns:
- this, for chaining, not null
-
index
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder index(IborIndex index)
Sets the Ibor index for which the data is valid.- Parameters:
index
- the new value, not null- Returns:
- this, for chaining, not null
-
dayCount
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder dayCount(DayCount dayCount)
Sets the day count to measure the time.- Parameters:
dayCount
- the new value, not null- Returns:
- this, for chaining, not null
-
lambda
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder lambda(double lambda)
Sets penalty intensity parameter.- Parameters:
lambda
- the new value- Returns:
- this, for chaining, not null
-
interpolator
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder interpolator(CurveInterpolator interpolator)
Sets the interpolator for the caplet volatilities.- Parameters:
interpolator
- the new value, not null- Returns:
- this, for chaining, not null
-
extrapolatorLeft
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder extrapolatorLeft(CurveExtrapolator extrapolatorLeft)
Sets the extrapolator for the caplet volatilities on the left.- Parameters:
extrapolatorLeft
- the new value, not null- Returns:
- this, for chaining, not null
-
extrapolatorRight
public DirectIborCapletFloorletFlatVolatilityDefinition.Builder extrapolatorRight(CurveExtrapolator extrapolatorRight)
Sets the extrapolator for the caplet volatilities on the right.- Parameters:
extrapolatorRight
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<DirectIborCapletFloorletFlatVolatilityDefinition>
-
-