Class ListCounterexamplesOptions.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.ListCounterexamplesOptions.Builder
- Enclosing class:
- ListCounterexamplesOptions
public static class ListCounterexamplesOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description ListCounterexamplesOptions
build()
Builds a ListCounterexamplesOptions.ListCounterexamplesOptions.Builder
cursor(String cursor)
Set the cursor.ListCounterexamplesOptions.Builder
includeAudit(Boolean includeAudit)
Set the includeAudit.ListCounterexamplesOptions.Builder
includeCount(Boolean includeCount)
Set the includeCount.ListCounterexamplesOptions.Builder
pageLimit(long pageLimit)
Set the pageLimit.ListCounterexamplesOptions.Builder
sort(String sort)
Set the sort.ListCounterexamplesOptions.Builder
workspaceId(String workspaceId)
Set the workspaceId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
workspaceId
- the workspaceId
-
-
Method Details
-
build
Builds a ListCounterexamplesOptions.- Returns:
- the new ListCounterexamplesOptions instance
-
workspaceId
Set the workspaceId.- Parameters:
workspaceId
- the workspaceId- Returns:
- the ListCounterexamplesOptions builder
-
pageLimit
Set the pageLimit.- Parameters:
pageLimit
- the pageLimit- Returns:
- the ListCounterexamplesOptions builder
-
includeCount
Set the includeCount.- Parameters:
includeCount
- the includeCount- Returns:
- the ListCounterexamplesOptions builder
-
sort
Set the sort.- Parameters:
sort
- the sort- Returns:
- the ListCounterexamplesOptions builder
-
cursor
Set the cursor.- Parameters:
cursor
- the cursor- Returns:
- the ListCounterexamplesOptions builder
-
includeAudit
Set the includeAudit.- Parameters:
includeAudit
- the includeAudit- Returns:
- the ListCounterexamplesOptions builder
-