* 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.
*
* List of errors that the operation can return. *
*/ private 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 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 BatchDetectTargetedSentimentResult withResultList(BatchDetectTargetedSentimentItemResult... 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 BatchDetectTargetedSentimentResult withResultList(java.util.Collection* List of errors that the operation can return. *
* * @return List of errors that the operation can return. */ public java.util.List* List of errors that the operation can return. *
* * @param errorList * List of errors that the operation can return. */ public void setErrorList(java.util.Collection* List of errors that the operation can return. *
** 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 * List of errors that the operation can return. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDetectTargetedSentimentResult withErrorList(BatchItemError... errorList) { if (this.errorList == null) { setErrorList(new java.util.ArrayList* List of errors that the operation can return. *
* * @param errorList * List of errors that the operation can return. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDetectTargetedSentimentResult withErrorList(java.util.Collection