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