public static class UpdateExampleOptions.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 |
|---|---|
UpdateExampleOptions.Builder |
addNewMentions(Mention newMentions)
Adds an newMentions to newMentions.
|
UpdateExampleOptions |
build()
Builds a UpdateExampleOptions.
|
UpdateExampleOptions.Builder |
includeAudit(Boolean includeAudit)
Set the includeAudit.
|
UpdateExampleOptions.Builder |
intent(String intent)
Set the intent.
|
UpdateExampleOptions.Builder |
newMentions(List<Mention> newMentions)
Set the newMentions.
|
UpdateExampleOptions.Builder |
newText(String newText)
Set the newText.
|
UpdateExampleOptions.Builder |
text(String text)
Set the text.
|
UpdateExampleOptions.Builder |
workspaceId(String workspaceId)
Set the workspaceId.
|
public UpdateExampleOptions build()
public UpdateExampleOptions.Builder addNewMentions(Mention newMentions)
newMentions - the new newMentionspublic UpdateExampleOptions.Builder workspaceId(String workspaceId)
workspaceId - the workspaceIdpublic UpdateExampleOptions.Builder intent(String intent)
intent - the intentpublic UpdateExampleOptions.Builder text(String text)
text - the textpublic UpdateExampleOptions.Builder newText(String newText)
newText - the newTextpublic UpdateExampleOptions.Builder newMentions(List<Mention> newMentions)
newMentions - the newMentionspublic UpdateExampleOptions.Builder includeAudit(Boolean includeAudit)
includeAudit - the includeAuditCopyright © 2022 IBM Cloud. All rights reserved.