@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDetectSyntaxResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
| BatchDetectSyntaxResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| BatchDetectSyntaxResult | clone() | 
| boolean | equals(Object obj) | 
| List<BatchItemError> | getErrorList()
 A list containing one object for each document that contained an error. | 
| List<BatchDetectSyntaxItemResult> | getResultList()
 A list of objects containing the results of the operation. | 
| int | hashCode() | 
| void | setErrorList(Collection<BatchItemError> errorList)
 A list containing one object for each document that contained an error. | 
| void | setResultList(Collection<BatchDetectSyntaxItemResult> resultList)
 A list of objects containing the results of the operation. | 
| String | toString()Returns a string representation of this object. | 
| BatchDetectSyntaxResult | withErrorList(BatchItemError... errorList)
 A list containing one object for each document that contained an error. | 
| BatchDetectSyntaxResult | withErrorList(Collection<BatchItemError> errorList)
 A list containing one object for each document that contained an error. | 
| BatchDetectSyntaxResult | withResultList(BatchDetectSyntaxItemResult... resultList)
 A list of objects containing the results of the operation. | 
| BatchDetectSyntaxResult | withResultList(Collection<BatchDetectSyntaxItemResult> resultList)
 A list of objects containing the results of the operation. | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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.
 
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(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.
 
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.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.
 
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.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.
 
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.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.
 
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(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.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.
 
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.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.
 
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.public String toString()
toString in class ObjectObject.toString()public BatchDetectSyntaxResult clone()