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