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