Class RuntimeEntityInterpretation.Builder

java.lang.Object
com.ibm.watson.assistant.v2.model.RuntimeEntityInterpretation.Builder
Enclosing class:
RuntimeEntityInterpretation

public static class RuntimeEntityInterpretation.Builder
extends Object
Builder.
  • Constructor Details

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      Builds a RuntimeEntityInterpretation.
      Returns:
      the new RuntimeEntityInterpretation instance
    • calendarType

      public RuntimeEntityInterpretation.Builder calendarType​(String calendarType)
      Set the calendarType.
      Parameters:
      calendarType - the calendarType
      Returns:
      the RuntimeEntityInterpretation builder
    • datetimeLink

      public RuntimeEntityInterpretation.Builder datetimeLink​(String datetimeLink)
      Set the datetimeLink.
      Parameters:
      datetimeLink - the datetimeLink
      Returns:
      the RuntimeEntityInterpretation builder
    • festival

      public RuntimeEntityInterpretation.Builder festival​(String festival)
      Set the festival.
      Parameters:
      festival - the festival
      Returns:
      the RuntimeEntityInterpretation builder
    • granularity

      public RuntimeEntityInterpretation.Builder granularity​(String granularity)
      Set the granularity.
      Parameters:
      granularity - the granularity
      Returns:
      the RuntimeEntityInterpretation builder
    • rangeLink

      public RuntimeEntityInterpretation.Builder rangeLink​(String rangeLink)
      Set the rangeLink.
      Parameters:
      rangeLink - the rangeLink
      Returns:
      the RuntimeEntityInterpretation builder
    • rangeModifier

      public RuntimeEntityInterpretation.Builder rangeModifier​(String rangeModifier)
      Set the rangeModifier.
      Parameters:
      rangeModifier - the rangeModifier
      Returns:
      the RuntimeEntityInterpretation builder
    • relativeDay

      public RuntimeEntityInterpretation.Builder relativeDay​(Double relativeDay)
      Set the relativeDay.
      Parameters:
      relativeDay - the relativeDay
      Returns:
      the RuntimeEntityInterpretation builder
    • relativeMonth

      public RuntimeEntityInterpretation.Builder relativeMonth​(Double relativeMonth)
      Set the relativeMonth.
      Parameters:
      relativeMonth - the relativeMonth
      Returns:
      the RuntimeEntityInterpretation builder
    • relativeWeek

      public RuntimeEntityInterpretation.Builder relativeWeek​(Double relativeWeek)
      Set the relativeWeek.
      Parameters:
      relativeWeek - the relativeWeek
      Returns:
      the RuntimeEntityInterpretation builder
    • relativeWeekend

      public RuntimeEntityInterpretation.Builder relativeWeekend​(Double relativeWeekend)
      Set the relativeWeekend.
      Parameters:
      relativeWeekend - the relativeWeekend
      Returns:
      the RuntimeEntityInterpretation builder
    • relativeYear

      public RuntimeEntityInterpretation.Builder relativeYear​(Double relativeYear)
      Set the relativeYear.
      Parameters:
      relativeYear - the relativeYear
      Returns:
      the RuntimeEntityInterpretation builder
    • specificDay

      public RuntimeEntityInterpretation.Builder specificDay​(Double specificDay)
      Set the specificDay.
      Parameters:
      specificDay - the specificDay
      Returns:
      the RuntimeEntityInterpretation builder
    • specificDayOfWeek

      public RuntimeEntityInterpretation.Builder specificDayOfWeek​(String specificDayOfWeek)
      Set the specificDayOfWeek.
      Parameters:
      specificDayOfWeek - the specificDayOfWeek
      Returns:
      the RuntimeEntityInterpretation builder
    • specificMonth

      public RuntimeEntityInterpretation.Builder specificMonth​(Double specificMonth)
      Set the specificMonth.
      Parameters:
      specificMonth - the specificMonth
      Returns:
      the RuntimeEntityInterpretation builder
    • specificQuarter

      public RuntimeEntityInterpretation.Builder specificQuarter​(Double specificQuarter)
      Set the specificQuarter.
      Parameters:
      specificQuarter - the specificQuarter
      Returns:
      the RuntimeEntityInterpretation builder
    • specificYear

      public RuntimeEntityInterpretation.Builder specificYear​(Double specificYear)
      Set the specificYear.
      Parameters:
      specificYear - the specificYear
      Returns:
      the RuntimeEntityInterpretation builder
    • numericValue

      public RuntimeEntityInterpretation.Builder numericValue​(Double numericValue)
      Set the numericValue.
      Parameters:
      numericValue - the numericValue
      Returns:
      the RuntimeEntityInterpretation builder
    • subtype

      public RuntimeEntityInterpretation.Builder subtype​(String subtype)
      Set the subtype.
      Parameters:
      subtype - the subtype
      Returns:
      the RuntimeEntityInterpretation builder
    • partOfDay

      public RuntimeEntityInterpretation.Builder partOfDay​(String partOfDay)
      Set the partOfDay.
      Parameters:
      partOfDay - the partOfDay
      Returns:
      the RuntimeEntityInterpretation builder
    • relativeHour

      public RuntimeEntityInterpretation.Builder relativeHour​(Double relativeHour)
      Set the relativeHour.
      Parameters:
      relativeHour - the relativeHour
      Returns:
      the RuntimeEntityInterpretation builder
    • relativeMinute

      public RuntimeEntityInterpretation.Builder relativeMinute​(Double relativeMinute)
      Set the relativeMinute.
      Parameters:
      relativeMinute - the relativeMinute
      Returns:
      the RuntimeEntityInterpretation builder
    • relativeSecond

      public RuntimeEntityInterpretation.Builder relativeSecond​(Double relativeSecond)
      Set the relativeSecond.
      Parameters:
      relativeSecond - the relativeSecond
      Returns:
      the RuntimeEntityInterpretation builder
    • specificHour

      public RuntimeEntityInterpretation.Builder specificHour​(Double specificHour)
      Set the specificHour.
      Parameters:
      specificHour - the specificHour
      Returns:
      the RuntimeEntityInterpretation builder
    • specificMinute

      public RuntimeEntityInterpretation.Builder specificMinute​(Double specificMinute)
      Set the specificMinute.
      Parameters:
      specificMinute - the specificMinute
      Returns:
      the RuntimeEntityInterpretation builder
    • specificSecond

      public RuntimeEntityInterpretation.Builder specificSecond​(Double specificSecond)
      Set the specificSecond.
      Parameters:
      specificSecond - the specificSecond
      Returns:
      the RuntimeEntityInterpretation builder
    • timezone

      public RuntimeEntityInterpretation.Builder timezone​(String timezone)
      Set the timezone.
      Parameters:
      timezone - the timezone
      Returns:
      the RuntimeEntityInterpretation builder