public static class UpdateIntentOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
UpdateIntentOptions.Builder()
Instantiates a new builder.
|
UpdateIntentOptions.Builder(java.lang.String workspaceId,
java.lang.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(java.lang.Boolean append)
Set the append.
|
UpdateIntentOptions |
build()
Builds a UpdateIntentOptions.
|
UpdateIntentOptions.Builder |
includeAudit(java.lang.Boolean includeAudit)
Set the includeAudit.
|
UpdateIntentOptions.Builder |
intent(java.lang.String intent)
Set the intent.
|
UpdateIntentOptions.Builder |
newDescription(java.lang.String newDescription)
Set the newDescription.
|
UpdateIntentOptions.Builder |
newExamples(java.util.List<Example> newExamples)
Set the newExamples.
|
UpdateIntentOptions.Builder |
newIntent(java.lang.String newIntent)
Set the newIntent.
|
UpdateIntentOptions.Builder |
workspaceId(java.lang.String workspaceId)
Set the workspaceId.
|
public UpdateIntentOptions.Builder()
public UpdateIntentOptions.Builder(java.lang.String workspaceId, java.lang.String intent)
workspaceId
- the workspaceIdintent
- the intentpublic UpdateIntentOptions build()
public UpdateIntentOptions.Builder addExample(Example example)
example
- the new examplepublic UpdateIntentOptions.Builder workspaceId(java.lang.String workspaceId)
workspaceId
- the workspaceIdpublic UpdateIntentOptions.Builder intent(java.lang.String intent)
intent
- the intentpublic UpdateIntentOptions.Builder newIntent(java.lang.String newIntent)
newIntent
- the newIntentpublic UpdateIntentOptions.Builder newDescription(java.lang.String newDescription)
newDescription
- the newDescriptionpublic UpdateIntentOptions.Builder newExamples(java.util.List<Example> newExamples)
newExamples
- the newExamplespublic UpdateIntentOptions.Builder append(java.lang.Boolean append)
append
- the appendpublic UpdateIntentOptions.Builder includeAudit(java.lang.Boolean includeAudit)
includeAudit
- the includeAudit