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

      • get

        public java.lang.Object get​(java.lang.String propertyName)
        Specified by:
        get in interface org.joda.beans.BeanBuilder<ImmutableSwapIndex>
        Overrides:
        get in class org.joda.beans.impl.direct.DirectFieldsBeanBuilder<ImmutableSwapIndex>
      • name

        public ImmutableSwapIndex.Builder name​(java.lang.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​(java.time.LocalTime fixingTime)
        Sets the fixing time.
        Parameters:
        fixingTime - the new value, not null
        Returns:
        this, for chaining, not null
      • fixingZone

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

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