Class RuntimeIntent.Builder
java.lang.Object
com.ibm.watson.assistant.v1.model.RuntimeIntent.Builder
- Enclosing class:
- RuntimeIntent
public static class RuntimeIntent.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description RuntimeIntentbuild()Builds a RuntimeIntent.RuntimeIntent.Builderconfidence(Double confidence)Set the confidence.RuntimeIntent.Builderintent(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
-