Class NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder
- java.lang.Object
-
- org.joda.beans.impl.direct.DirectFieldsBeanBuilder<NormalIborFutureOptionExpirySimpleMoneynessVolatilities>
-
- com.opengamma.strata.pricer.index.NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder
-
- All Implemented Interfaces:
org.joda.beans.BeanBuilder<NormalIborFutureOptionExpirySimpleMoneynessVolatilities>
- Enclosing class:
- NormalIborFutureOptionExpirySimpleMoneynessVolatilities
public static final class NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<NormalIborFutureOptionExpirySimpleMoneynessVolatilities>
The bean-builder forNormalIborFutureOptionExpirySimpleMoneynessVolatilities
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NormalIborFutureOptionExpirySimpleMoneynessVolatilities
build()
Object
get(String propertyName)
NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder
index(IborIndex index)
Sets the index of the underlying future.NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder
set(String propertyName, Object newValue)
NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder
set(org.joda.beans.MetaProperty<?> property, Object value)
NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder
surface(Surface surface)
Sets the normal volatility surface.String
toString()
NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder
valuationDateTime(ZonedDateTime valuationDateTime)
Sets the valuation date-time.
-
-
-
Method Detail
-
get
public Object get(String propertyName)
- Specified by:
get
in interfaceorg.joda.beans.BeanBuilder<NormalIborFutureOptionExpirySimpleMoneynessVolatilities>
- Overrides:
get
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<NormalIborFutureOptionExpirySimpleMoneynessVolatilities>
-
set
public NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder set(String propertyName, Object newValue)
-
set
public NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder set(org.joda.beans.MetaProperty<?> property, Object value)
- Specified by:
set
in interfaceorg.joda.beans.BeanBuilder<NormalIborFutureOptionExpirySimpleMoneynessVolatilities>
- Overrides:
set
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<NormalIborFutureOptionExpirySimpleMoneynessVolatilities>
-
build
public NormalIborFutureOptionExpirySimpleMoneynessVolatilities build()
-
index
public NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder index(IborIndex index)
Sets the index of the underlying future.- Parameters:
index
- the new value, not null- Returns:
- this, for chaining, not null
-
valuationDateTime
public NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder valuationDateTime(ZonedDateTime valuationDateTime)
Sets the valuation date-time.The volatilities are calibrated for this date-time.
- Parameters:
valuationDateTime
- the new value, not null- Returns:
- this, for chaining, not null
-
surface
public NormalIborFutureOptionExpirySimpleMoneynessVolatilities.Builder surface(Surface surface)
Sets the normal volatility surface.The x-value of the surface is the expiry, as a year fraction. The y-value of the surface is the simple moneyness.
- Parameters:
surface
- the new value, not null- Returns:
- this, for chaining, not null
-
toString
public String toString()
- Overrides:
toString
in classorg.joda.beans.impl.direct.DirectFieldsBeanBuilder<NormalIborFutureOptionExpirySimpleMoneynessVolatilities>
-
-