Class ListValuesOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

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

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

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

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

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

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

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