Class BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification>
-
- com.opengamma.strata.measure.fxopt.BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification>
- Enclosing class:
- BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification
public static final class BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification>
The bean-builder forBlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification
.
-
-
Method Summary
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification>
-
set
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder set(String propertyName, Object newValue)
-
set
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification>
-
build
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification build()
-
name
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder name(FxOptionVolatilitiesName name)
Sets the name.- Parameters:
name
- the new value, not null- Returns:
- this, for chaining, not null
-
currencyPair
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder currencyPair(CurrencyPair currencyPair)
Sets the currencyPair.- Parameters:
currencyPair
- the new value, not null- Returns:
- this, for chaining, not null
-
dayCount
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder dayCount(DayCount dayCount)
Sets the dayCount.- Parameters:
dayCount
- the new value, not null- Returns:
- this, for chaining, not null
-
nodes
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder nodes(List<FxOptionVolatilitiesNode> nodes)
Sets the nodes.- Parameters:
nodes
- the new value, not null- Returns:
- this, for chaining, not null
-
nodes
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder nodes(FxOptionVolatilitiesNode... nodes)
Sets thenodes
property in the builder from an array of objects.- Parameters:
nodes
- the new value, not null- Returns:
- this, for chaining, not null
-
timeInterpolator
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder timeInterpolator(CurveInterpolator timeInterpolator)
Sets the interpolator used in the time dimension.- Parameters:
timeInterpolator
- the new value, not null- Returns:
- this, for chaining, not null
-
timeExtrapolatorLeft
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder timeExtrapolatorLeft(CurveExtrapolator timeExtrapolatorLeft)
Sets the left extrapolator used in the time dimension.- Parameters:
timeExtrapolatorLeft
- the new value, not null- Returns:
- this, for chaining, not null
-
timeExtrapolatorRight
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder timeExtrapolatorRight(CurveExtrapolator timeExtrapolatorRight)
Sets the right extrapolator used in the time dimension.- Parameters:
timeExtrapolatorRight
- the new value, not null- Returns:
- this, for chaining, not null
-
strikeInterpolator
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder strikeInterpolator(CurveInterpolator strikeInterpolator)
Sets the interpolator used in the strike dimension.- Parameters:
strikeInterpolator
- the new value, not null- Returns:
- this, for chaining, not null
-
strikeExtrapolatorLeft
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder strikeExtrapolatorLeft(CurveExtrapolator strikeExtrapolatorLeft)
Sets the left extrapolator used in the strike dimension.- Parameters:
strikeExtrapolatorLeft
- the new value, not null- Returns:
- this, for chaining, not null
-
strikeExtrapolatorRight
public BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification.Builder strikeExtrapolatorRight(CurveExtrapolator strikeExtrapolatorRight)
Sets the right extrapolator used in the strike dimension.- Parameters:
strikeExtrapolatorRight
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionInterpolatedNodalSurfaceVolatilitiesSpecification>
-
-