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