public static class RuntimeIntent.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String intent)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
RuntimeIntent |
build()
Builds a RuntimeIntent.
|
RuntimeIntent.Builder |
confidence(Double confidence)
Set the confidence.
|
RuntimeIntent.Builder |
intent(String intent)
Set the intent.
|
RuntimeIntent.Builder |
skill(String skill)
Set the skill.
|
public Builder()
public Builder(String intent)
intent
- the intentpublic RuntimeIntent build()
public RuntimeIntent.Builder intent(String intent)
intent
- the intentpublic RuntimeIntent.Builder confidence(Double confidence)
confidence
- the confidencepublic RuntimeIntent.Builder skill(String skill)
skill
- the skillCopyright © 2024 IBM Cloud. All rights reserved.