public static class UpdateIntentOptions.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 |
---|---|
UpdateIntentOptions.Builder |
addExample(Example example)
Adds an example to newExamples.
|
UpdateIntentOptions.Builder |
append(Boolean append)
Set the append.
|
UpdateIntentOptions |
build()
Builds a UpdateIntentOptions.
|
UpdateIntentOptions.Builder |
includeAudit(Boolean includeAudit)
Set the includeAudit.
|
UpdateIntentOptions.Builder |
intent(String intent)
Set the intent.
|
UpdateIntentOptions.Builder |
newDescription(String newDescription)
Set the newDescription.
|
UpdateIntentOptions.Builder |
newExamples(List<Example> newExamples)
Set the newExamples.
|
UpdateIntentOptions.Builder |
newIntent(String newIntent)
Set the newIntent.
|
UpdateIntentOptions.Builder |
workspaceId(String workspaceId)
Set the workspaceId.
|
public UpdateIntentOptions build()
public UpdateIntentOptions.Builder addExample(Example example)
example
- the new examplepublic UpdateIntentOptions.Builder workspaceId(String workspaceId)
workspaceId
- the workspaceIdpublic UpdateIntentOptions.Builder intent(String intent)
intent
- the intentpublic UpdateIntentOptions.Builder newIntent(String newIntent)
newIntent
- the newIntentpublic UpdateIntentOptions.Builder newDescription(String newDescription)
newDescription
- the newDescriptionpublic UpdateIntentOptions.Builder newExamples(List<Example> newExamples)
newExamples
- the newExamplespublic UpdateIntentOptions.Builder append(Boolean append)
append
- the appendpublic UpdateIntentOptions.Builder includeAudit(Boolean includeAudit)
includeAudit
- the includeAuditCopyright © 2021 IBM Cloud. All rights reserved.