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