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 per the ISO 639-1
standard.
|
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 per the ISO 639-1 standard.
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–2023. All rights reserved.