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