* Targeted sentiment analysis for each of the entities identified in the input text. *
*/ private java.util.List* Targeted sentiment analysis for each of the entities identified in the input text. *
* * @return Targeted sentiment analysis for each of the entities identified in the input text. */ public java.util.List* Targeted sentiment analysis for each of the entities identified in the input text. *
* * @param entities * Targeted sentiment analysis for each of the entities identified in the input text. */ public void setEntities(java.util.Collection* Targeted sentiment analysis for each of the entities identified in the input text. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setEntities(java.util.Collection)} or {@link #withEntities(java.util.Collection)} if you want to override * the existing values. *
* * @param entities * Targeted sentiment analysis for each of the entities identified in the input text. * @return Returns a reference to this object so that method calls can be chained together. */ public DetectTargetedSentimentResult withEntities(TargetedSentimentEntity... entities) { if (this.entities == null) { setEntities(new java.util.ArrayList* Targeted sentiment analysis for each of the entities identified in the input text. *
* * @param entities * Targeted sentiment analysis for each of the entities identified in the input text. * @return Returns a reference to this object so that method calls can be chained together. */ public DetectTargetedSentimentResult withEntities(java.util.Collection