/** * <p> * An array of <a>RegexMatchSetSummary</a> objects. * </p> * * @param regexMatchSets * An array of <a>RegexMatchSetSummary</a> objects. * @return Returns a reference to this object so that method calls can be chained together. */ public ListRegexMatchSetsResult withRegexMatchSets(java.util.Collection<RegexMatchSetSummary> regexMatchSets) { setRegexMatchSets(regexMatchSets); return this; }
/** * <p> * An array of <a>RegexMatchSetSummary</a> objects. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setRegexMatchSets(java.util.Collection)} or {@link #withRegexMatchSets(java.util.Collection)} if you want * to override the existing values. * </p> * * @param regexMatchSets * An array of <a>RegexMatchSetSummary</a> objects. * @return Returns a reference to this object so that method calls can be chained together. */ public ListRegexMatchSetsResult withRegexMatchSets(RegexMatchSetSummary... regexMatchSets) { if (this.regexMatchSets == null) { setRegexMatchSets(new java.util.ArrayList<RegexMatchSetSummary>(regexMatchSets.length)); } for (RegexMatchSetSummary ele : regexMatchSets) { this.regexMatchSets.add(ele); } return this; }
listRegexMatchSetsResult.setRegexMatchSets(new ListUnmarshaller<RegexMatchSetSummary>(RegexMatchSetSummaryJsonUnmarshaller.getInstance()) .unmarshall(context));
listRegexMatchSetsResult.setRegexMatchSets(new ListUnmarshaller<RegexMatchSetSummary>(RegexMatchSetSummaryJsonUnmarshaller.getInstance()) .unmarshall(context));