Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ private String encodeToBase64(InputStream content) {
* Set the type of this attachment builder.
*
* @param type the attachment type.
* @return attachment builder object.
*/
public Builder withType(String type) {
this.type = type;
Expand All @@ -221,6 +222,7 @@ public Builder withType(String type) {
* Set the disposition of this attachment builder.
*
* @param disposition the disposition.
* @return attachment builder object.
*/
public Builder withDisposition(String disposition) {
this.disposition = disposition;
Expand All @@ -231,6 +233,7 @@ public Builder withDisposition(String disposition) {
* Set the content ID of this attachment builder.
*
* @param contentId the content ID.
* @return attachment builder object.
*/
public Builder withContentId(String contentId) {
this.contentId = contentId;
Expand All @@ -239,6 +242,7 @@ public Builder withContentId(String contentId) {

/**
* Construct the attachments object.
* @return the attachments object constructed.
*/
public Attachments build() {
Attachments attachments = new Attachments();
Expand Down