Class ListWorkspacesOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
  • Method Details

    • build

      public ListWorkspacesOptions build()
      Builds a ListWorkspacesOptions.
      Returns:
      the new ListWorkspacesOptions instance
    • pageLimit

      public ListWorkspacesOptions.Builder pageLimit​(long pageLimit)
      Set the pageLimit.
      Parameters:
      pageLimit - the pageLimit
      Returns:
      the ListWorkspacesOptions builder
    • includeCount

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

      public ListWorkspacesOptions.Builder sort​(String sort)
      Set the sort.
      Parameters:
      sort - the sort
      Returns:
      the ListWorkspacesOptions builder
    • cursor

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

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