public static class BatchLanguageTranslationDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BatchLanguageTranslationDetails |
build() |
BatchLanguageTranslationDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that calls the API, inference will be served from pre trained model
|
BatchLanguageTranslationDetails.Builder |
copy(BatchLanguageTranslationDetails model) |
BatchLanguageTranslationDetails.Builder |
documents(List<TextDocument> documents)
List of documents for translation.
|
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
|
public BatchLanguageTranslationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that calls the API, inference will be served from pre trained model
compartmentId
- the value to setpublic 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
targetLanguageCode
- the value to setpublic BatchLanguageTranslationDetails.Builder documents(List<TextDocument> documents)
List of documents for translation.
documents
- the value to setpublic BatchLanguageTranslationDetails build()
public BatchLanguageTranslationDetails.Builder copy(BatchLanguageTranslationDetails model)
Copyright © 2016–2024. All rights reserved.