Class RuntimeIntent.Builder
java.lang.Object
com.ibm.watson.assistant.v2.model.RuntimeIntent.Builder
- Enclosing class:
- RuntimeIntent
public static class RuntimeIntent.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description RuntimeIntent
build()
Builds a RuntimeIntent.RuntimeIntent.Builder
confidence(Double confidence)
Set the confidence.RuntimeIntent.Builder
intent(String intent)
Set the intent.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
intent
- the intentconfidence
- the confidence
-
-
Method Details
-
build
Builds a RuntimeIntent.- Returns:
- the new RuntimeIntent instance
-
intent
Set the intent.- Parameters:
intent
- the intent- Returns:
- the RuntimeIntent builder
-
confidence
Set the confidence.- Parameters:
confidence
- the confidence- Returns:
- the RuntimeIntent builder
-