public static interface BatchDetectTargetedSentimentResponse.Builder extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<BatchDetectTargetedSentimentResponse.Builder,BatchDetectTargetedSentimentResponse>
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchDetectTargetedSentimentResponse.Builder resultList(Collection<BatchDetectTargetedSentimentItemResult> 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.BatchDetectTargetedSentimentResponse.Builder resultList(BatchDetectTargetedSentimentItemResult... 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.BatchDetectTargetedSentimentResponse.Builder resultList(Consumer<BatchDetectTargetedSentimentItemResult.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.
BatchDetectTargetedSentimentItemResult.Builder
avoiding the need to create one manually via
BatchDetectTargetedSentimentItemResult.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
BatchDetectTargetedSentimentItemResult.Builder#resultList(java.util.Collection) BatchDetectTargetedSentimentResponse.Builder errorList(Collection<BatchItemError> errorList)
List of errors that the operation can return.
errorList - List of errors that the operation can return.BatchDetectTargetedSentimentResponse.Builder errorList(BatchItemError... errorList)
List of errors that the operation can return.
errorList - List of errors that the operation can return.BatchDetectTargetedSentimentResponse.Builder errorList(Consumer<BatchItemError.Builder>... errorList)
List of errors that the operation can return.
This is a convenience method that creates an instance of theBatchItemError.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.