public static class UpdateExampleOptions.Builder
extends java.lang.Object
| Constructor and Description |
|---|
UpdateExampleOptions.Builder()
Instantiates a new builder.
|
UpdateExampleOptions.Builder(java.lang.String workspaceId,
java.lang.String intent,
java.lang.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(java.lang.Boolean includeAudit)
Set the includeAudit.
|
UpdateExampleOptions.Builder |
intent(java.lang.String intent)
Set the intent.
|
UpdateExampleOptions.Builder |
newMentions(java.util.List<Mention> newMentions)
Set the newMentions.
|
UpdateExampleOptions.Builder |
newText(java.lang.String newText)
Set the newText.
|
UpdateExampleOptions.Builder |
text(java.lang.String text)
Set the text.
|
UpdateExampleOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public UpdateExampleOptions.Builder()
public UpdateExampleOptions.Builder(java.lang.String workspaceId,
java.lang.String intent,
java.lang.String text)
workspaceId - the workspaceIdintent - the intenttext - the textpublic UpdateExampleOptions build()
public UpdateExampleOptions.Builder addNewMentions(Mention newMentions)
newMentions - the new newMentionspublic UpdateExampleOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId - the workspaceIdpublic UpdateExampleOptions.Builder intent(java.lang.String intent)
intent - the intentpublic UpdateExampleOptions.Builder text(java.lang.String text)
text - the textpublic UpdateExampleOptions.Builder newText(java.lang.String newText)
newText - the newTextpublic UpdateExampleOptions.Builder newMentions(java.util.List<Mention> newMentions)
newMentions - the newMentionspublic UpdateExampleOptions.Builder includeAudit(java.lang.Boolean includeAudit)
includeAudit - the includeAudit