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