public static class GetExampleOptions.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String workspaceId,
String intent,
String text)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
GetExampleOptions |
build()
Builds a GetExampleOptions.
|
GetExampleOptions.Builder |
includeAudit(Boolean includeAudit)
Set the includeAudit.
|
GetExampleOptions.Builder |
intent(String intent)
Set the intent.
|
GetExampleOptions.Builder |
text(String text)
Set the text.
|
GetExampleOptions.Builder |
workspaceId(String workspaceId)
Set the workspaceId.
|
public GetExampleOptions build()
public GetExampleOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic GetExampleOptions.Builder intent(String intent)
intent
- the intentpublic GetExampleOptions.Builder text(String text)
text
- the textpublic GetExampleOptions.Builder includeAudit(Boolean includeAudit)
includeAudit
- the includeAuditCopyright © 2022 IBM Cloud. All rights reserved.