public class BatchDetectDominantLanguageResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
BatchDetectDominantLanguageResult() |
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<BatchDetectDominantLanguageItemResult> |
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<BatchDetectDominantLanguageItemResult> 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.
|
BatchDetectDominantLanguageResult |
withErrorList(BatchItemError... errorList)
A list containing one object for each document that contained an error.
|
BatchDetectDominantLanguageResult |
withErrorList(java.util.Collection<BatchItemError> errorList)
A list containing one object for each document that contained an error.
|
BatchDetectDominantLanguageResult |
withResultList(BatchDetectDominantLanguageItemResult... resultList)
A list of objects containing the results of the operation.
|
BatchDetectDominantLanguageResult |
withResultList(java.util.Collection<BatchDetectDominantLanguageItemResult> resultList)
A list of objects containing the results of the operation.
|
public java.util.List<BatchDetectDominantLanguageItemResult> 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<BatchDetectDominantLanguageItemResult> 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 BatchDetectDominantLanguageResult withResultList(BatchDetectDominantLanguageItemResult... 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 BatchDetectDominantLanguageResult withResultList(java.util.Collection<BatchDetectDominantLanguageItemResult> 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 BatchDetectDominantLanguageResult 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 BatchDetectDominantLanguageResult 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.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.