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 a new element to expandedTerms.
|
Expansion.Builder |
addInputTerms(String inputTerms)
Adds a new element 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 element to be addedpublic Expansion.Builder addExpandedTerms(String expandedTerms)
expandedTerms
- the new element to be addedpublic Expansion.Builder inputTerms(List<String> inputTerms)
inputTerms
- the inputTermspublic Expansion.Builder expandedTerms(List<String> expandedTerms)
expandedTerms
- the expandedTermsCopyright © 2024 IBM Cloud. All rights reserved.