public static class RuntimeIntent.Builder extends Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(String intent,
Double confidence)
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 RuntimeIntent build()
public RuntimeIntent.Builder intent(String intent)
intent
- the intentpublic RuntimeIntent.Builder confidence(Double confidence)
confidence
- the confidenceCopyright © 2021 IBM Cloud. All rights reserved.