* The recommendations. *
*/ private java.util.List* The triggers corresponding to recommendations. *
*/ private java.util.List* The recommendations. *
* * @return The recommendations. */ public java.util.List* The recommendations. *
* * @param recommendations * The recommendations. */ public void setRecommendations(java.util.Collection* The recommendations. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRecommendations(java.util.Collection)} or {@link #withRecommendations(java.util.Collection)} if you * want to override the existing values. *
* * @param recommendations * The recommendations. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRecommendationsResult withRecommendations(RecommendationData... recommendations) { if (this.recommendations == null) { setRecommendations(new java.util.ArrayList* The recommendations. *
* * @param recommendations * The recommendations. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRecommendationsResult withRecommendations(java.util.Collection* The triggers corresponding to recommendations. *
* * @return The triggers corresponding to recommendations. */ public java.util.List* The triggers corresponding to recommendations. *
* * @param triggers * The triggers corresponding to recommendations. */ public void setTriggers(java.util.Collection* The triggers corresponding to recommendations. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setTriggers(java.util.Collection)} or {@link #withTriggers(java.util.Collection)} if you want to override * the existing values. *
* * @param triggers * The triggers corresponding to recommendations. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRecommendationsResult withTriggers(RecommendationTrigger... triggers) { if (this.triggers == null) { setTriggers(new java.util.ArrayList* The triggers corresponding to recommendations. *
* * @param triggers * The triggers corresponding to recommendations. * @return Returns a reference to this object so that method calls can be chained together. */ public GetRecommendationsResult withTriggers(java.util.Collection