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