Class GetCounterexampleOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

      Set the text.
      Parameters:
      text - the text
      Returns:
      the GetCounterexampleOptions builder
    • includeAudit

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