Package com.oracle.bmc.ailanguage.model
Class BatchDetectDominantLanguageResult.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.BatchDetectDominantLanguageResult.Builder
-
- Enclosing class:
- BatchDetectDominantLanguageResult
public static class BatchDetectDominantLanguageResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDetectDominantLanguageResultbuild()BatchDetectDominantLanguageResult.Buildercopy(BatchDetectDominantLanguageResult model)BatchDetectDominantLanguageResult.Builderdocuments(List<DominantLanguageDocumentResult> documents)List of succeeded document response.BatchDetectDominantLanguageResult.Buildererrors(List<DocumentError> errors)List of failed document response.
-
-
-
Method Detail
-
documents
public BatchDetectDominantLanguageResult.Builder documents(List<DominantLanguageDocumentResult> documents)
List of succeeded document response.- Parameters:
documents- the value to set- Returns:
- this builder
-
errors
public BatchDetectDominantLanguageResult.Builder errors(List<DocumentError> errors)
List of failed document response.- Parameters:
errors- the value to set- Returns:
- this builder
-
build
public BatchDetectDominantLanguageResult build()
-
copy
public BatchDetectDominantLanguageResult.Builder copy(BatchDetectDominantLanguageResult model)
-
-