Class BlackFxOptionSmileVolatilitiesSpecification.Builder
- java.lang.Object
 - 
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSmileVolatilitiesSpecification>
 - 
- com.opengamma.strata.measure.fxopt.BlackFxOptionSmileVolatilitiesSpecification.Builder
 
 
 
- 
- All Implemented Interfaces:
 org.joda.beans.BeanBuilder<BlackFxOptionSmileVolatilitiesSpecification>
- Enclosing class:
 - BlackFxOptionSmileVolatilitiesSpecification
 
public static final class BlackFxOptionSmileVolatilitiesSpecification.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSmileVolatilitiesSpecification>
The bean-builder forBlackFxOptionSmileVolatilitiesSpecification. 
- 
- 
Method Summary
 
 - 
 
- 
- 
Method Detail
- 
get
public Object get(String propertyName)
- Specified by:
 getin interfaceorg.joda.beans.BeanBuilder<BlackFxOptionSmileVolatilitiesSpecification>- Overrides:
 getin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSmileVolatilitiesSpecification>
 
- 
set
public BlackFxOptionSmileVolatilitiesSpecification.Builder set(String propertyName, Object newValue)
 
- 
set
public BlackFxOptionSmileVolatilitiesSpecification.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
 setin interfaceorg.joda.beans.BeanBuilder<BlackFxOptionSmileVolatilitiesSpecification>- Overrides:
 setin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSmileVolatilitiesSpecification>
 
- 
build
public BlackFxOptionSmileVolatilitiesSpecification build()
 
- 
name
public BlackFxOptionSmileVolatilitiesSpecification.Builder name(FxOptionVolatilitiesName name)
Sets the name of the volatilities.- Parameters:
 name- the new value, not null- Returns:
 - this, for chaining, not null
 
 
- 
currencyPair
public BlackFxOptionSmileVolatilitiesSpecification.Builder currencyPair(CurrencyPair currencyPair)
Sets the currency pair that the volatilities are for.- Parameters:
 currencyPair- the new value, not null- Returns:
 - this, for chaining, not null
 
 
- 
dayCount
public BlackFxOptionSmileVolatilitiesSpecification.Builder dayCount(DayCount dayCount)
Sets the day count convention used for the expiry.- Parameters:
 dayCount- the new value, not null- Returns:
 - this, for chaining, not null
 
 
- 
nodes
public BlackFxOptionSmileVolatilitiesSpecification.Builder nodes(List<FxOptionVolatilitiesNode> nodes)
Sets the nodes in the FX option volatilities.The nodes are used to find the quotes and build the volatilities.
- Parameters:
 nodes- the new value, not null- Returns:
 - this, for chaining, not null
 
 
- 
nodes
public BlackFxOptionSmileVolatilitiesSpecification.Builder nodes(FxOptionVolatilitiesNode... nodes)
Sets thenodesproperty in the builder from an array of objects.- Parameters:
 nodes- the new value, not null- Returns:
 - this, for chaining, not null
 
 
- 
timeInterpolator
public BlackFxOptionSmileVolatilitiesSpecification.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 BlackFxOptionSmileVolatilitiesSpecification.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 BlackFxOptionSmileVolatilitiesSpecification.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 BlackFxOptionSmileVolatilitiesSpecification.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 BlackFxOptionSmileVolatilitiesSpecification.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 BlackFxOptionSmileVolatilitiesSpecification.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:
 toStringin classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<BlackFxOptionSmileVolatilitiesSpecification>
 
 - 
 
 -