public static interface BatchDetectDominantLanguageResponse.Builder extends ComprehendResponse.Builder, CopyableBuilder<BatchDetectDominantLanguageResponse.Builder,BatchDetectDominantLanguageResponse>
Modifier and Type | Method and Description |
---|---|
BatchDetectDominantLanguageResponse.Builder |
errorList(BatchItemError... errorList)
A list containing one object for each document that contained an error.
|
BatchDetectDominantLanguageResponse.Builder |
errorList(Collection<BatchItemError> errorList)
A list containing one object for each document that contained an error.
|
BatchDetectDominantLanguageResponse.Builder |
resultList(BatchDetectDominantLanguageItemResult... resultList)
A list of objects containing the results of the operation.
|
BatchDetectDominantLanguageResponse.Builder |
resultList(Collection<BatchDetectDominantLanguageItemResult> resultList)
A list of objects containing the results of the operation.
|
build
copy
apply, build
BatchDetectDominantLanguageResponse.Builder resultList(Collection<BatchDetectDominantLanguageItemResult> resultList)
A list of objects containing the results of the operation. The results are sorted in ascending order by the
Index
field and match the order of the documents in the input list. If all of the documents
contain an error, the ResultList
is empty.
resultList
- A list of objects containing the results of the operation. The results are sorted in ascending order
by the Index
field and match the order of the documents in the input list. If all of the
documents contain an error, the ResultList
is empty.BatchDetectDominantLanguageResponse.Builder resultList(BatchDetectDominantLanguageItemResult... resultList)
A list of objects containing the results of the operation. The results are sorted in ascending order by the
Index
field and match the order of the documents in the input list. If all of the documents
contain an error, the ResultList
is empty.
resultList
- A list of objects containing the results of the operation. The results are sorted in ascending order
by the Index
field and match the order of the documents in the input list. If all of the
documents contain an error, the ResultList
is empty.BatchDetectDominantLanguageResponse.Builder errorList(Collection<BatchItemError> errorList)
A list containing one object for each document that contained an error. The results are sorted in ascending
order by the Index
field and match the order of the documents in the input list. If there are no
errors in the batch, the ErrorList
is empty.
errorList
- A list containing one object for each document that contained an error. The results are sorted in
ascending order by the Index
field and match the order of the documents in the input
list. If there are no errors in the batch, the ErrorList
is empty.BatchDetectDominantLanguageResponse.Builder errorList(BatchItemError... errorList)
A list containing one object for each document that contained an error. The results are sorted in ascending
order by the Index
field and match the order of the documents in the input list. If there are no
errors in the batch, the ErrorList
is empty.
errorList
- A list containing one object for each document that contained an error. The results are sorted in
ascending order by the Index
field and match the order of the documents in the input
list. If there are no errors in the batch, the ErrorList
is empty.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.