Class ListFeedbackOptions.Builder

java.lang.Object
com.ibm.watson.compare_comply.v1.model.ListFeedbackOptions.Builder
Enclosing class:
ListFeedbackOptions

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

    • Builder

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

    • build

      public ListFeedbackOptions build()
      Builds a ListFeedbackOptions.
      Returns:
      the new ListFeedbackOptions instance
    • feedbackType

      public ListFeedbackOptions.Builder feedbackType​(String feedbackType)
      Set the feedbackType.
      Parameters:
      feedbackType - the feedbackType
      Returns:
      the ListFeedbackOptions builder
    • documentTitle

      public ListFeedbackOptions.Builder documentTitle​(String documentTitle)
      Set the documentTitle.
      Parameters:
      documentTitle - the documentTitle
      Returns:
      the ListFeedbackOptions builder
    • modelId

      public ListFeedbackOptions.Builder modelId​(String modelId)
      Set the modelId.
      Parameters:
      modelId - the modelId
      Returns:
      the ListFeedbackOptions builder
    • modelVersion

      public ListFeedbackOptions.Builder modelVersion​(String modelVersion)
      Set the modelVersion.
      Parameters:
      modelVersion - the modelVersion
      Returns:
      the ListFeedbackOptions builder
    • categoryRemoved

      public ListFeedbackOptions.Builder categoryRemoved​(String categoryRemoved)
      Set the categoryRemoved.
      Parameters:
      categoryRemoved - the categoryRemoved
      Returns:
      the ListFeedbackOptions builder
    • categoryAdded

      public ListFeedbackOptions.Builder categoryAdded​(String categoryAdded)
      Set the categoryAdded.
      Parameters:
      categoryAdded - the categoryAdded
      Returns:
      the ListFeedbackOptions builder
    • categoryNotChanged

      public ListFeedbackOptions.Builder categoryNotChanged​(String categoryNotChanged)
      Set the categoryNotChanged.
      Parameters:
      categoryNotChanged - the categoryNotChanged
      Returns:
      the ListFeedbackOptions builder
    • typeRemoved

      public ListFeedbackOptions.Builder typeRemoved​(String typeRemoved)
      Set the typeRemoved.
      Parameters:
      typeRemoved - the typeRemoved
      Returns:
      the ListFeedbackOptions builder
    • typeAdded

      public ListFeedbackOptions.Builder typeAdded​(String typeAdded)
      Set the typeAdded.
      Parameters:
      typeAdded - the typeAdded
      Returns:
      the ListFeedbackOptions builder
    • typeNotChanged

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

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

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

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

      public ListFeedbackOptions.Builder includeTotal​(Boolean includeTotal)
      Set the includeTotal.
      Parameters:
      includeTotal - the includeTotal
      Returns:
      the ListFeedbackOptions builder