public static class BatchLanguageTranslationResult.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BatchLanguageTranslationResult |
build() |
BatchLanguageTranslationResult.Builder |
copy(BatchLanguageTranslationResult model) |
BatchLanguageTranslationResult.Builder |
documents(List<TranslationDocumentResult> documents)
List of succeeded document response.
|
BatchLanguageTranslationResult.Builder |
errors(List<DocumentError> errors)
List of failed document response.
|
public BatchLanguageTranslationResult.Builder documents(List<TranslationDocumentResult> documents)
List of succeeded document response.
documents
- the value to setpublic BatchLanguageTranslationResult.Builder errors(List<DocumentError> errors)
List of failed document response.
errors
- the value to setpublic BatchLanguageTranslationResult build()
public BatchLanguageTranslationResult.Builder copy(BatchLanguageTranslationResult model)
Copyright © 2016–2024. All rights reserved.