@@ -211,6 +211,7 @@ private String encodeToBase64(InputStream content) {
211211 * Set the type of this attachment builder.
212212 *
213213 * @param type the attachment type.
214+ * @return attachment builder object.
214215 */
215216 public Builder withType (String type ) {
216217 this .type = type ;
@@ -221,6 +222,7 @@ public Builder withType(String type) {
221222 * Set the disposition of this attachment builder.
222223 *
223224 * @param disposition the disposition.
225+ * @return attachment builder object.
224226 */
225227 public Builder withDisposition (String disposition ) {
226228 this .disposition = disposition ;
@@ -231,6 +233,7 @@ public Builder withDisposition(String disposition) {
231233 * Set the content ID of this attachment builder.
232234 *
233235 * @param contentId the content ID.
236+ * @return attachment builder object.
234237 */
235238 public Builder withContentId (String contentId ) {
236239 this .contentId = contentId ;
@@ -239,6 +242,7 @@ public Builder withContentId(String contentId) {
239242
240243 /**
241244 * Construct the attachments object.
245+ * @return the attachments object constructed.
242246 */
243247 public Attachments build () {
244248 Attachments attachments = new Attachments ();
0 commit comments