Class ListSynonymsOptions.Builder

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

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

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

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

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

      public ListSynonymsOptions.Builder value​(String value)
      Set the value.
      Parameters:
      value - the value
      Returns:
      the ListSynonymsOptions builder
    • pageLimit

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

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

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

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

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