/** * <p> * The ID of the attachment set. If an <code>attachmentSetId</code> is not specified, a new attachment set is * created, and the ID of the set is returned in the response. If an <code>attachmentSetId</code> is specified, the * attachments are added to the specified set, if it exists. * </p> * * @param attachmentSetId * The ID of the attachment set. If an <code>attachmentSetId</code> is not specified, a new attachment set is * created, and the ID of the set is returned in the response. If an <code>attachmentSetId</code> is * specified, the attachments are added to the specified set, if it exists. * @return Returns a reference to this object so that method calls can be chained together. */ public AddAttachmentsToSetRequest withAttachmentSetId(String attachmentSetId) { setAttachmentSetId(attachmentSetId); return this; }
/** * <p> * The ID of the attachment set. If an <code>attachmentSetId</code> is not specified, a new attachment set is * created, and the ID of the set is returned in the response. If an <code>attachmentSetId</code> is specified, the * attachments are added to the specified set, if it exists. * </p> * * @param attachmentSetId * The ID of the attachment set. If an <code>attachmentSetId</code> is not specified, a new attachment set is * created, and the ID of the set is returned in the response. If an <code>attachmentSetId</code> is * specified, the attachments are added to the specified set, if it exists. * @return Returns a reference to this object so that method calls can be chained together. */ public AddAttachmentsToSetRequest withAttachmentSetId(String attachmentSetId) { setAttachmentSetId(attachmentSetId); return this; }