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.
|
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 confidenceCopyright © 2023 IBM Cloud. All rights reserved.