Class ImmutableSwapIndex.Builder

  • All Implemented Interfaces:
    org.joda.beans.BeanBuilder<ImmutableSwapIndex>
    Enclosing class:
    ImmutableSwapIndex

    public static final class ImmutableSwapIndex.Builder
    extends org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableSwapIndex>
    The bean-builder for ImmutableSwapIndex.
    • Method Detail

      • name

        public ImmutableSwapIndex.Builder name​(String name)
        Sets the index name.
        Parameters:
        name - the new value, not empty
        Returns:
        this, for chaining, not null
      • active

        public ImmutableSwapIndex.Builder active​(boolean active)
        Sets whether the index is active, defaulted to true.

        Over time some indices become inactive and are no longer produced. If this occurs, this flag will be set to false.

        Parameters:
        active - the new value
        Returns:
        this, for chaining, not null
      • fixingTime

        public ImmutableSwapIndex.Builder fixingTime​(LocalTime fixingTime)
        Sets the fixing time.
        Parameters:
        fixingTime - the new value, not null
        Returns:
        this, for chaining, not null
      • fixingZone

        public ImmutableSwapIndex.Builder fixingZone​(ZoneId fixingZone)
        Sets the time-zone of the fixing time.
        Parameters:
        fixingZone - the new value, not null
        Returns:
        this, for chaining, not null
      • template

        public ImmutableSwapIndex.Builder template​(FixedFloatSwapTemplate template)
        Sets the template for creating a Fixed-Ibor or Fixed-Overnight swap.
        Parameters:
        template - the new value, not null
        Returns:
        this, for chaining, not null
      • toString

        public String toString()
        Overrides:
        toString in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableSwapIndex>