/** * <p> * A list of ReviewAction objects for each action specified in the Review Policy. * </p> * * @param reviewActions * A list of ReviewAction objects for each action specified in the Review Policy. * @return Returns a reference to this object so that method calls can be chained together. */ public ReviewReport withReviewActions(java.util.Collection<ReviewActionDetail> reviewActions) { setReviewActions(reviewActions); return this; }
/** * <p> * A list of ReviewAction objects for each action specified in the Review Policy. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setReviewActions(java.util.Collection)} or {@link #withReviewActions(java.util.Collection)} if you want * to override the existing values. * </p> * * @param reviewActions * A list of ReviewAction objects for each action specified in the Review Policy. * @return Returns a reference to this object so that method calls can be chained together. */ public ReviewReport withReviewActions(ReviewActionDetail... reviewActions) { if (this.reviewActions == null) { setReviewActions(new java.util.ArrayList<ReviewActionDetail>(reviewActions.length)); } for (ReviewActionDetail ele : reviewActions) { this.reviewActions.add(ele); } return this; }
reviewReport.setReviewActions(new ListUnmarshaller<ReviewActionDetail>(ReviewActionDetailJsonUnmarshaller.getInstance()) .unmarshall(context));