Class RuntimeIntent.Builder

java.lang.Object
com.ibm.watson.assistant.v1.model.RuntimeIntent.Builder
Enclosing class:
RuntimeIntent

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

      public Builder​(String intent, Double confidence)
      Instantiates a new builder with required properties.
      Parameters:
      intent - the intent
      confidence - the confidence
  • Method Details

    • build

      public RuntimeIntent build()
      Builds a RuntimeIntent.
      Returns:
      the new RuntimeIntent instance
    • intent

      public RuntimeIntent.Builder intent​(String intent)
      Set the intent.
      Parameters:
      intent - the intent
      Returns:
      the RuntimeIntent builder
    • confidence

      public RuntimeIntent.Builder confidence​(Double confidence)
      Set the confidence.
      Parameters:
      confidence - the confidence
      Returns:
      the RuntimeIntent builder