public static interface BatchDetectKeyPhrasesResponse.Builder extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<BatchDetectKeyPhrasesResponse.Builder,BatchDetectKeyPhrasesResponse>
| Modifier and Type | Method and Description |
|---|---|
BatchDetectKeyPhrasesResponse.Builder |
errorList(BatchItemError... errorList)
A list containing one object for each document that contained an error.
|
BatchDetectKeyPhrasesResponse.Builder |
errorList(Collection<BatchItemError> errorList)
A list containing one object for each document that contained an error.
|
BatchDetectKeyPhrasesResponse.Builder |
errorList(Consumer<BatchItemError.Builder>... errorList)
A list containing one object for each document that contained an error.
|
BatchDetectKeyPhrasesResponse.Builder |
resultList(BatchDetectKeyPhrasesItemResult... resultList)
A list of objects containing the results of the operation.
|
BatchDetectKeyPhrasesResponse.Builder |
resultList(Collection<BatchDetectKeyPhrasesItemResult> resultList)
A list of objects containing the results of the operation.
|
BatchDetectKeyPhrasesResponse.Builder |
resultList(Consumer<BatchDetectKeyPhrasesItemResult.Builder>... resultList)
A list of objects containing the results of the operation.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchDetectKeyPhrasesResponse.Builder resultList(Collection<BatchDetectKeyPhrasesItemResult> 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.BatchDetectKeyPhrasesResponse.Builder resultList(BatchDetectKeyPhrasesItemResult... 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.BatchDetectKeyPhrasesResponse.Builder resultList(Consumer<BatchDetectKeyPhrasesItemResult.Builder>... 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.
BatchDetectKeyPhrasesItemResult.Builder avoiding the
need to create one manually via
BatchDetectKeyPhrasesItemResult.builder().
When the Consumer completes,
SdkBuilder.build() is
called immediately and its result is passed to #resultList(List.
resultList - a consumer that will call methods on
BatchDetectKeyPhrasesItemResult.Builder#resultList(java.util.Collection) BatchDetectKeyPhrasesResponse.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.BatchDetectKeyPhrasesResponse.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.BatchDetectKeyPhrasesResponse.Builder errorList(Consumer<BatchItemError.Builder>... 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.
BatchItemError.Builder avoiding the need to create
one manually via BatchItemError.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #errorList(List.
errorList - a consumer that will call methods on
BatchItemError.Builder#errorList(java.util.Collection) Copyright © 2023. All rights reserved.