JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.comprehend.model

Class BatchDetectSyntaxResult

    • Constructor Detail

      • BatchDetectSyntaxResult

        public BatchDetectSyntaxResult()
    • Method Detail

      • getResultList

        public List<BatchDetectSyntaxItemResult> getResultList()

        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.

        Returns:
        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.
      • setResultList

        public void setResultList(Collection<BatchDetectSyntaxItemResult> 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.

        Parameters:
        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.
      • withResultList

        public BatchDetectSyntaxResult withResultList(BatchDetectSyntaxItemResult... 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.

        NOTE: This method appends the values to the existing list (if any). Use setResultList(java.util.Collection) or withResultList(java.util.Collection) if you want to override the existing values.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withResultList

        public BatchDetectSyntaxResult withResultList(Collection<BatchDetectSyntaxItemResult> 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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getErrorList

        public List<BatchItemError> getErrorList()

        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.

        Returns:
        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.
      • setErrorList

        public void setErrorList(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.

        Parameters:
        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.
      • withErrorList

        public BatchDetectSyntaxResult withErrorList(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.

        NOTE: This method appends the values to the existing list (if any). Use setErrorList(java.util.Collection) or withErrorList(java.util.Collection) if you want to override the existing values.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withErrorList

        public BatchDetectSyntaxResult withErrorList(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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /