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 Summary
-
Method Summary
Modifier and Type Method Description ListLogsOptions.Builder
assistantId(String assistantId)
Set the assistantId.ListLogsOptions
build()
Builds a ListLogsOptions.ListLogsOptions.Builder
cursor(String cursor)
Set the cursor.ListLogsOptions.Builder
filter(String filter)
Set the filter.ListLogsOptions.Builder
pageLimit(long pageLimit)
Set the pageLimit.ListLogsOptions.Builder
sort(String sort)
Set the sort.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
assistantId
- the assistantId
-
-
Method Details
-
build
Builds a ListLogsOptions.- Returns:
- the new ListLogsOptions instance
-
assistantId
Set the assistantId.- Parameters:
assistantId
- the assistantId- Returns:
- the ListLogsOptions builder
-
sort
Set the sort.- Parameters:
sort
- the sort- Returns:
- the ListLogsOptions builder
-
filter
Set the filter.- Parameters:
filter
- the filter- Returns:
- the ListLogsOptions builder
-
pageLimit
Set the pageLimit.- Parameters:
pageLimit
- the pageLimit- Returns:
- the ListLogsOptions builder
-
cursor
Set the cursor.- Parameters:
cursor
- the cursor- Returns:
- the ListLogsOptions builder
-