public static class RuntimeIntent.Builder
extends java.lang.Object
Constructor and Description |
---|
RuntimeIntent.Builder()
Instantiates a new builder.
|
RuntimeIntent.Builder(java.lang.String intent,
java.lang.Double confidence)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
RuntimeIntent |
build()
Builds a RuntimeIntent.
|
RuntimeIntent.Builder |
confidence(java.lang.Double confidence)
Set the confidence.
|
RuntimeIntent.Builder |
intent(java.lang.String intent)
Set the intent.
|
public RuntimeIntent.Builder()
public RuntimeIntent.Builder(java.lang.String intent, java.lang.Double confidence)
intent
- the intentconfidence
- the confidencepublic RuntimeIntent build()
public RuntimeIntent.Builder intent(java.lang.String intent)
intent
- the intentpublic RuntimeIntent.Builder confidence(java.lang.Double confidence)
confidence
- the confidence