Class ListLogsOptions.Builder

java.lang.Object
com.ibm.watson.assistant.v2.model.ListLogsOptions.Builder
Enclosing class:
ListLogsOptions

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

    • Builder

      public Builder()
      Instantiates a new builder.
    • Builder

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

    • build

      public ListLogsOptions build()
      Builds a ListLogsOptions.
      Returns:
      the new ListLogsOptions instance
    • assistantId

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

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

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

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

      public ListLogsOptions.Builder cursor​(String cursor)
      Set the cursor.
      Parameters:
      cursor - the cursor
      Returns:
      the ListLogsOptions builder