* 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.
*
* 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.
*
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setResultList(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setResultList(java.util.Collection)} or {@link #withResultList(java.util.Collection)} if you want to * override the existing values. *
* * @param resultList * A list of objects containing the results of the operation. The results are sorted in ascending order by * theIndex
field and match the order of the documents in the input list. If all of the
* documents contain an error, the ResultList
is empty.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchDetectSentimentResult withResultList(BatchDetectSentimentItemResult... resultList) {
if (this.resultList == null) {
setResultList(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchDetectSentimentResult withResultList(java.util.Collection
* 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.
*
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.
*/
public java.util.List
* 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.
*
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.
*/
public void setErrorList(java.util.Collection
* 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.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setErrorList(java.util.Collection)} or {@link #withErrorList(java.util.Collection)} if you want to * override the existing values. *
* * @param errorList * A list containing one object for each document that contained an error. The results are sorted in * ascending order by theIndex
field and match the order of the documents in the input list. If
* there are no errors in the batch, the ErrorList
is empty.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchDetectSentimentResult withErrorList(BatchItemError... errorList) {
if (this.errorList == null) {
setErrorList(new java.util.ArrayList
* 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.
*
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.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public BatchDetectSentimentResult withErrorList(java.util.Collection