Class GetWorkspaceOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

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

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

      public GetWorkspaceOptions.Builder sort​(String sort)
      Set the sort.
      Parameters:
      sort - the sort
      Returns:
      the GetWorkspaceOptions builder