Package com.oracle.bmc.ailanguage.model
Class BatchLanguageTranslationDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.BatchLanguageTranslationDetails.Builder
 
- 
- Enclosing class:
- BatchLanguageTranslationDetails
 
 public static class BatchLanguageTranslationDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchLanguageTranslationDetails.Builderalias(String alias)Unique name to identify an endpoint to be used for inferencingBatchLanguageTranslationDetailsbuild()BatchLanguageTranslationDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that calls the API, inference will be served from pre trained modelBatchLanguageTranslationDetails.Buildercopy(BatchLanguageTranslationDetails model)BatchLanguageTranslationDetails.Builderdocuments(List<TextDocument> documents)List of documents for translation.BatchLanguageTranslationDetails.BuilderendpointId(String endpointId)The endpoint that has to be used for inferencing.BatchLanguageTranslationDetails.BuildernoTranslate(List<String> noTranslate)List of words not to be translatedBatchLanguageTranslationDetails.BuildertargetLanguageCode(String targetLanguageCode)Language code supported Arabic - ar Brazilian Portuguese - pt-BR Canadian French - fr-CA Croatian - hr Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr German - de Greek - el Hebrew - he Hungarian - hu Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Portuguese - pt Romanian - ro Russian - ru Simplified Chinese - zh-CN Slovak - sk Slovenian - sl Spanish - es Swedish - sv Thai - th Traditional Chinese - zh-TW Turkish - tr Vietnamese - vi
 
 
- 
- 
- 
Method Detail- 
aliaspublic BatchLanguageTranslationDetails.Builder alias(String alias) Unique name to identify an endpoint to be used for inferencing- Parameters:
- alias- the value to set
- Returns:
- this builder
 
 - 
endpointIdpublic BatchLanguageTranslationDetails.Builder endpointId(String endpointId) The endpoint that has to be used for inferencing.- Parameters:
- endpointId- the value to set
- Returns:
- this builder
 
 - 
noTranslatepublic BatchLanguageTranslationDetails.Builder noTranslate(List<String> noTranslate) List of words not to be translated- Parameters:
- noTranslate- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic BatchLanguageTranslationDetails.Builder compartmentId(String compartmentId) The OCID of the compartment that calls the API, inference will be served from pre trained model- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
targetLanguageCodepublic BatchLanguageTranslationDetails.Builder targetLanguageCode(String targetLanguageCode) Language code supported Arabic - ar Brazilian Portuguese - pt-BR Canadian French - fr-CA Croatian - hr Czech - cs Danish - da Dutch - nl English - en Finnish - fi French - fr German - de Greek - el Hebrew - he Hungarian - hu Italian - it Japanese - ja Korean - ko Norwegian - no Polish - pl Portuguese - pt Romanian - ro Russian - ru Simplified Chinese - zh-CN Slovak - sk Slovenian - sl Spanish - es Swedish - sv Thai - th Traditional Chinese - zh-TW Turkish - tr Vietnamese - vi
 - Parameters:
- targetLanguageCode- the value to set
- Returns:
- this builder
 
 - 
documentspublic BatchLanguageTranslationDetails.Builder documents(List<TextDocument> documents) List of documents for translation.- Parameters:
- documents- the value to set
- Returns:
- this builder
 
 - 
buildpublic BatchLanguageTranslationDetails build() 
 - 
copypublic BatchLanguageTranslationDetails.Builder copy(BatchLanguageTranslationDetails model) 
 
- 
 
-