public static class Translation.Builder extends Object
| Constructor and Description | 
|---|
Builder()
Instantiates a new builder. 
 | 
Builder(String translation)
Instantiates a new builder with required properties. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Translation | 
build()
Builds a Translation. 
 | 
Translation.Builder | 
partOfSpeech(String partOfSpeech)
Set the partOfSpeech. 
 | 
Translation.Builder | 
translation(String translation)
Set the translation. 
 | 
public Builder()
public Builder(String translation)
translation - the translationpublic Translation build()
public Translation.Builder translation(String translation)
translation - the translationpublic Translation.Builder partOfSpeech(String partOfSpeech)
partOfSpeech - the partOfSpeechCopyright © 2021 IBM Cloud. All rights reserved.