Class GetIntentOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

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

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

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