Class DeleteExampleOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public DeleteExampleOptions build()
      Builds a DeleteExampleOptions.
      Returns:
      the new DeleteExampleOptions instance
    • workspaceId

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

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

      public DeleteExampleOptions.Builder text​(String text)
      Set the text.
      Parameters:
      text - the text
      Returns:
      the DeleteExampleOptions builder