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