public class Attachments extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Attachments.Builder
A helper object to construct usable attachments.
|
Constructor and Description |
---|
Attachments() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getContent()
Get the attachment's content.
|
String |
getContentId()
Get the attachment content ID.
|
String |
getDisposition()
Get the content-disposition of the attachment specifying how you would like the attachment to
be displayed.
|
String |
getFilename()
Get the filename for this attachment.
|
String |
getType()
Get the mime type of the content you are attaching.
|
int |
hashCode() |
void |
setContent(String content)
Set the attachment's content.
|
void |
setContentId(String contentId)
Set the content ID.
|
void |
setDisposition(String disposition)
Set the content-disposition of the attachment.
|
void |
setFilename(String filename)
Set the filename for this attachment.
|
void |
setType(String type)
Set the mime type of the content.
|
public String getContent()
public void setContent(String content)
content
- the content.public String getType()
public void setType(String type)
type
- the mime type.public String getFilename()
public void setFilename(String filename)
filename
- the filename.public String getDisposition()
public void setDisposition(String disposition)
disposition
- the disposition.public String getContentId()
public void setContentId(String contentId)
contentId
- the content ID.Copyright © 2022. All rights reserved.