Class UpdateDialogNodeOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public UpdateDialogNodeOptions build()
      Builds a UpdateDialogNodeOptions.
      Returns:
      the new UpdateDialogNodeOptions instance
    • addNewActions

      public UpdateDialogNodeOptions.Builder addNewActions​(DialogNodeAction newActions)
      Adds an newActions to newActions.
      Parameters:
      newActions - the new newActions
      Returns:
      the UpdateDialogNodeOptions builder
    • workspaceId

      public UpdateDialogNodeOptions.Builder workspaceId​(String workspaceId)
      Set the workspaceId.
      Parameters:
      workspaceId - the workspaceId
      Returns:
      the UpdateDialogNodeOptions builder
    • dialogNode

      public UpdateDialogNodeOptions.Builder dialogNode​(String dialogNode)
      Set the dialogNode.
      Parameters:
      dialogNode - the dialogNode
      Returns:
      the UpdateDialogNodeOptions builder
    • newDialogNode

      public UpdateDialogNodeOptions.Builder newDialogNode​(String newDialogNode)
      Set the newDialogNode.
      Parameters:
      newDialogNode - the newDialogNode
      Returns:
      the UpdateDialogNodeOptions builder
    • newDescription

      public UpdateDialogNodeOptions.Builder newDescription​(String newDescription)
      Set the newDescription.
      Parameters:
      newDescription - the newDescription
      Returns:
      the UpdateDialogNodeOptions builder
    • newConditions

      public UpdateDialogNodeOptions.Builder newConditions​(String newConditions)
      Set the newConditions.
      Parameters:
      newConditions - the newConditions
      Returns:
      the UpdateDialogNodeOptions builder
    • newParent

      public UpdateDialogNodeOptions.Builder newParent​(String newParent)
      Set the newParent.
      Parameters:
      newParent - the newParent
      Returns:
      the UpdateDialogNodeOptions builder
    • newPreviousSibling

      public UpdateDialogNodeOptions.Builder newPreviousSibling​(String newPreviousSibling)
      Set the newPreviousSibling.
      Parameters:
      newPreviousSibling - the newPreviousSibling
      Returns:
      the UpdateDialogNodeOptions builder
    • newOutput

      public UpdateDialogNodeOptions.Builder newOutput​(DialogNodeOutput newOutput)
      Set the newOutput.
      Parameters:
      newOutput - the newOutput
      Returns:
      the UpdateDialogNodeOptions builder
    • newContext

      public UpdateDialogNodeOptions.Builder newContext​(DialogNodeContext newContext)
      Set the newContext.
      Parameters:
      newContext - the newContext
      Returns:
      the UpdateDialogNodeOptions builder
    • newMetadata

      public UpdateDialogNodeOptions.Builder newMetadata​(Map<String,​Object> newMetadata)
      Set the newMetadata.
      Parameters:
      newMetadata - the newMetadata
      Returns:
      the UpdateDialogNodeOptions builder
    • newNextStep

      public UpdateDialogNodeOptions.Builder newNextStep​(DialogNodeNextStep newNextStep)
      Set the newNextStep.
      Parameters:
      newNextStep - the newNextStep
      Returns:
      the UpdateDialogNodeOptions builder
    • newTitle

      public UpdateDialogNodeOptions.Builder newTitle​(String newTitle)
      Set the newTitle.
      Parameters:
      newTitle - the newTitle
      Returns:
      the UpdateDialogNodeOptions builder
    • newType

      public UpdateDialogNodeOptions.Builder newType​(String newType)
      Set the newType.
      Parameters:
      newType - the newType
      Returns:
      the UpdateDialogNodeOptions builder
    • newEventName

      public UpdateDialogNodeOptions.Builder newEventName​(String newEventName)
      Set the newEventName.
      Parameters:
      newEventName - the newEventName
      Returns:
      the UpdateDialogNodeOptions builder
    • newVariable

      public UpdateDialogNodeOptions.Builder newVariable​(String newVariable)
      Set the newVariable.
      Parameters:
      newVariable - the newVariable
      Returns:
      the UpdateDialogNodeOptions builder
    • newActions

      public UpdateDialogNodeOptions.Builder newActions​(List<DialogNodeAction> newActions)
      Set the newActions. Existing newActions will be replaced.
      Parameters:
      newActions - the newActions
      Returns:
      the UpdateDialogNodeOptions builder
    • newDigressIn

      public UpdateDialogNodeOptions.Builder newDigressIn​(String newDigressIn)
      Set the newDigressIn.
      Parameters:
      newDigressIn - the newDigressIn
      Returns:
      the UpdateDialogNodeOptions builder
    • newDigressOut

      public UpdateDialogNodeOptions.Builder newDigressOut​(String newDigressOut)
      Set the newDigressOut.
      Parameters:
      newDigressOut - the newDigressOut
      Returns:
      the UpdateDialogNodeOptions builder
    • newDigressOutSlots

      public UpdateDialogNodeOptions.Builder newDigressOutSlots​(String newDigressOutSlots)
      Set the newDigressOutSlots.
      Parameters:
      newDigressOutSlots - the newDigressOutSlots
      Returns:
      the UpdateDialogNodeOptions builder
    • newUserLabel

      public UpdateDialogNodeOptions.Builder newUserLabel​(String newUserLabel)
      Set the newUserLabel.
      Parameters:
      newUserLabel - the newUserLabel
      Returns:
      the UpdateDialogNodeOptions builder
    • newDisambiguationOptOut

      public UpdateDialogNodeOptions.Builder newDisambiguationOptOut​(Boolean newDisambiguationOptOut)
      Set the newDisambiguationOptOut.
      Parameters:
      newDisambiguationOptOut - the newDisambiguationOptOut
      Returns:
      the UpdateDialogNodeOptions builder
    • includeAudit

      public UpdateDialogNodeOptions.Builder includeAudit​(Boolean includeAudit)
      Set the includeAudit.
      Parameters:
      includeAudit - the includeAudit
      Returns:
      the UpdateDialogNodeOptions builder