Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Builder(List<String> expandedTerms)
Instantiates a new builder with required properties.
|
Modifier and Type | Method and Description |
---|---|
Expansion.Builder |
addExpandedTerms(String expandedTerms)
Adds an expandedTerms to expandedTerms.
|
Expansion.Builder |
addInputTerms(String inputTerms)
Adds an inputTerms to inputTerms.
|
Expansion |
build()
Builds a Expansion.
|
Expansion.Builder |
expandedTerms(List<String> expandedTerms)
Set the expandedTerms.
|
Expansion.Builder |
inputTerms(List<String> inputTerms)
Set the inputTerms.
|
public Expansion build()
public Expansion.Builder addInputTerms(String inputTerms)
inputTerms
- the new inputTermspublic Expansion.Builder addExpandedTerms(String expandedTerms)
expandedTerms
- the new expandedTermspublic Expansion.Builder inputTerms(List<String> inputTerms)
inputTerms
- the inputTermspublic Expansion.Builder expandedTerms(List<String> expandedTerms)
expandedTerms
- the expandedTermsCopyright © 2021 IBM Cloud. All rights reserved.