public class BatchDetectSentimentResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
BatchDetectSentimentResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<BatchItemError> |
getErrorList()
A list containing one object for each document that contained an error.
|
java.util.List<BatchDetectSentimentItemResult> |
getResultList()
A list of objects containing the results of the operation.
|
int |
hashCode() |
void |
setErrorList(java.util.Collection<BatchItemError> errorList)
A list containing one object for each document that contained an error.
|
void |
setResultList(java.util.Collection<BatchDetectSentimentItemResult> resultList)
A list of objects containing the results of the operation.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
BatchDetectSentimentResult |
withErrorList(BatchItemError... errorList)
A list containing one object for each document that contained an error.
|
BatchDetectSentimentResult |
withErrorList(java.util.Collection<BatchItemError> errorList)
A list containing one object for each document that contained an error.
|
BatchDetectSentimentResult |
withResultList(BatchDetectSentimentItemResult... resultList)
A list of objects containing the results of the operation.
|
BatchDetectSentimentResult |
withResultList(java.util.Collection<BatchDetectSentimentItemResult> resultList)
A list of objects containing the results of the operation.
|
public java.util.List<BatchDetectSentimentItemResult> 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.
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 void setResultList(java.util.Collection<BatchDetectSentimentItemResult> 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 BatchDetectSentimentResult withResultList(BatchDetectSentimentItemResult... 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 a reference to this object so that method calls can be chained together.
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 BatchDetectSentimentResult withResultList(java.util.Collection<BatchDetectSentimentItemResult> 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 a reference to this object so that method calls can be chained together.
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 java.util.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.
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 void setErrorList(java.util.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 BatchDetectSentimentResult 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.
Returns a reference to this object so that method calls can be chained together.
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 BatchDetectSentimentResult withErrorList(java.util.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.