/** * <p> * Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. * </p> * * @param xssMatchTuples * Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. * @return Returns a reference to this object so that method calls can be chained together. */ public XssMatchSet withXssMatchTuples(java.util.Collection<XssMatchTuple> xssMatchTuples) { setXssMatchTuples(xssMatchTuples); return this; }
/** * <p> * Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setXssMatchTuples(java.util.Collection)} or {@link #withXssMatchTuples(java.util.Collection)} if you want * to override the existing values. * </p> * * @param xssMatchTuples * Specifies the parts of web requests that you want to inspect for cross-site scripting attacks. * @return Returns a reference to this object so that method calls can be chained together. */ public XssMatchSet withXssMatchTuples(XssMatchTuple... xssMatchTuples) { if (this.xssMatchTuples == null) { setXssMatchTuples(new java.util.ArrayList<XssMatchTuple>(xssMatchTuples.length)); } for (XssMatchTuple ele : xssMatchTuples) { this.xssMatchTuples.add(ele); } return this; }
xssMatchSet.setXssMatchTuples(new ListUnmarshaller<XssMatchTuple>(XssMatchTupleJsonUnmarshaller.getInstance()).unmarshall(context));
xssMatchSet.setXssMatchTuples(new ListUnmarshaller<XssMatchTuple>(XssMatchTupleJsonUnmarshaller.getInstance()).unmarshall(context));