Class DialogNodeAction.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public DialogNodeAction build()
      Builds a DialogNodeAction.
      Returns:
      the new DialogNodeAction instance
    • name

      public DialogNodeAction.Builder name​(String name)
      Set the name.
      Parameters:
      name - the name
      Returns:
      the DialogNodeAction builder
    • type

      public DialogNodeAction.Builder type​(String type)
      Set the type.
      Parameters:
      type - the type
      Returns:
      the DialogNodeAction builder
    • parameters

      public DialogNodeAction.Builder parameters​(Map<String,​Object> parameters)
      Set the parameters.
      Parameters:
      parameters - the parameters
      Returns:
      the DialogNodeAction builder
    • resultVariable

      public DialogNodeAction.Builder resultVariable​(String resultVariable)
      Set the resultVariable.
      Parameters:
      resultVariable - the resultVariable
      Returns:
      the DialogNodeAction builder
    • credentials

      public DialogNodeAction.Builder credentials​(String credentials)
      Set the credentials.
      Parameters:
      credentials - the credentials
      Returns:
      the DialogNodeAction builder