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