Class DialogNodeContext.Builder

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

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

    • Builder

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

    • build

      public DialogNodeContext build()
      Builds a DialogNodeContext.
      Returns:
      the new DialogNodeContext instance
    • integrations

      public DialogNodeContext.Builder integrations​(Map<String,​Map<String,​Object>> integrations)
      Set the integrations.
      Parameters:
      integrations - the integrations
      Returns:
      the DialogNodeContext builder
    • add

      public DialogNodeContext.Builder add​(String name, Object value)
      Add an arbitrary property.
      Parameters:
      name - the name of the property to add
      value - the value of the property to add
      Returns:
      the DialogNodeContext builder