/** * <p> * Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search * for in web requests, the location in requests that you want AWS WAF to search, and other settings. * </p> * * @param byteMatchTuples * Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to * search for in web requests, the location in requests that you want AWS WAF to search, and other settings. * @return Returns a reference to this object so that method calls can be chained together. */ public ByteMatchSet withByteMatchTuples(java.util.Collection<ByteMatchTuple> byteMatchTuples) { setByteMatchTuples(byteMatchTuples); return this; }
/** * <p> * Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to search * for in web requests, the location in requests that you want AWS WAF to search, and other settings. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setByteMatchTuples(java.util.Collection)} or {@link #withByteMatchTuples(java.util.Collection)} if you * want to override the existing values. * </p> * * @param byteMatchTuples * Specifies the bytes (typically a string that corresponds with ASCII characters) that you want AWS WAF to * search for in web requests, the location in requests that you want AWS WAF to search, and other settings. * @return Returns a reference to this object so that method calls can be chained together. */ public ByteMatchSet withByteMatchTuples(ByteMatchTuple... byteMatchTuples) { if (this.byteMatchTuples == null) { setByteMatchTuples(new java.util.ArrayList<ByteMatchTuple>(byteMatchTuples.length)); } for (ByteMatchTuple ele : byteMatchTuples) { this.byteMatchTuples.add(ele); } return this; }
byteMatchSet.setByteMatchTuples(new ListUnmarshaller<ByteMatchTuple>(ByteMatchTupleJsonUnmarshaller.getInstance()).unmarshall(context));
byteMatchSet.setByteMatchTuples(new ListUnmarshaller<ByteMatchTuple>(ByteMatchTupleJsonUnmarshaller.getInstance()).unmarshall(context));