/** * <p> * A list of <code> <a>BatchResultErrorEntry</a> </code> items. * </p> * * @param failed * A list of <code> <a>BatchResultErrorEntry</a> </code> items. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed) { setFailed(failed); return this; }
/** * <p> * A list of <code> <a>BatchResultErrorEntry</a> </code> items. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setFailed(java.util.Collection)} or {@link #withFailed(java.util.Collection)} if you want to override the * existing values. * </p> * * @param failed * A list of <code> <a>BatchResultErrorEntry</a> </code> items. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteMessageBatchResult withFailed(BatchResultErrorEntry... failed) { if (this.failed == null) { setFailed(new com.amazonaws.internal.SdkInternalList<BatchResultErrorEntry>(failed.length)); } for (BatchResultErrorEntry ele : failed) { this.failed.add(ele); } return this; }
/** * <p> * A list of <a>BatchResultErrorEntry</a> items. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param failed <p> * A list of <a>BatchResultErrorEntry</a> items. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public DeleteMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed) { setFailed(failed); return this; }
/** * <p> * A list of <code> <a>BatchResultErrorEntry</a> </code> items. * </p> * * @param failed * A list of <code> <a>BatchResultErrorEntry</a> </code> items. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed) { setFailed(failed); return this; }
/** * <p> * A list of <a>BatchResultErrorEntry</a> items. * </p> * <p> * Returns a reference to this object so that method calls can be chained * together. * * @param failed <p> * A list of <a>BatchResultErrorEntry</a> items. * </p> * @return A reference to this updated object so that method calls can be * chained together. */ public DeleteMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed) { setFailed(failed); return this; }
/** * <p> * A list of <code> <a>BatchResultErrorEntry</a> </code> items. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setFailed(java.util.Collection)} or {@link #withFailed(java.util.Collection)} if you want to override the * existing values. * </p> * * @param failed * A list of <code> <a>BatchResultErrorEntry</a> </code> items. * @return Returns a reference to this object so that method calls can be chained together. */ public DeleteMessageBatchResult withFailed(BatchResultErrorEntry... failed) { if (this.failed == null) { setFailed(new com.amazonaws.internal.SdkInternalList<BatchResultErrorEntry>(failed.length)); } for (BatchResultErrorEntry ele : failed) { this.failed.add(ele); } return this; }