Class SabrInArrearsVolatilityFunction.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrInArrearsVolatilityFunction>
-
- com.opengamma.strata.pricer.impl.volatility.smile.SabrInArrearsVolatilityFunction.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<SabrInArrearsVolatilityFunction>
- Enclosing class:
- SabrInArrearsVolatilityFunction
public static final class SabrInArrearsVolatilityFunction.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrInArrearsVolatilityFunction>
The bean-builder forSabrInArrearsVolatilityFunction
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SabrInArrearsVolatilityFunction
build()
Object
get(String propertyName)
SabrInArrearsVolatilityFunction.Builder
q(double q)
Sets the mean reversion related parameter.SabrInArrearsVolatilityFunction.Builder
set(String propertyName, Object newValue)
SabrInArrearsVolatilityFunction.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<SabrInArrearsVolatilityFunction>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrInArrearsVolatilityFunction>
-
set
public SabrInArrearsVolatilityFunction.Builder set(String propertyName, Object newValue)
-
set
public SabrInArrearsVolatilityFunction.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<SabrInArrearsVolatilityFunction>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrInArrearsVolatilityFunction>
-
build
public SabrInArrearsVolatilityFunction build()
-
q
public SabrInArrearsVolatilityFunction.Builder q(double q)
Sets the mean reversion related parameter.- Parameters:
q
- the new value- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<SabrInArrearsVolatilityFunction>
-
-