public static class ListExamplesOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String workspaceId,
String intent)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
ListExamplesOptions |
build()
Builds a ListExamplesOptions.
|
ListExamplesOptions.Builder |
cursor(String cursor)
Set the cursor.
|
ListExamplesOptions.Builder |
includeAudit(Boolean includeAudit)
Set the includeAudit.
|
ListExamplesOptions.Builder |
includeCount(Boolean includeCount)
Set the includeCount.
|
ListExamplesOptions.Builder |
intent(String intent)
Set the intent.
|
ListExamplesOptions.Builder |
pageLimit(long pageLimit)
Set the pageLimit.
|
ListExamplesOptions.Builder |
sort(String sort)
Set the sort.
|
ListExamplesOptions.Builder |
workspaceId(String workspaceId)
Set the workspaceId.
|
public ListExamplesOptions build()
public ListExamplesOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic ListExamplesOptions.Builder intent(String intent)
intent
- the intentpublic ListExamplesOptions.Builder pageLimit(long pageLimit)
pageLimit
- the pageLimitpublic ListExamplesOptions.Builder includeCount(Boolean includeCount)
includeCount
- the includeCountpublic ListExamplesOptions.Builder sort(String sort)
sort
- the sortpublic ListExamplesOptions.Builder cursor(String cursor)
cursor
- the cursorpublic ListExamplesOptions.Builder includeAudit(Boolean includeAudit)
includeAudit
- the includeAuditCopyright © 2022 IBM Cloud. All rights reserved.