Class GetExampleOptions.Builder

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

public static class GetExampleOptions.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 GetExampleOptions build()
      Builds a GetExampleOptions.
      Returns:
      the new GetExampleOptions instance
    • workspaceId

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

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

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

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