public static class SheetEmail.AddSheetEmailBuilder extends Object
| Constructor and Description |
|---|
AddSheetEmailBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SheetEmail |
build()
Builds the sheetEmail.
|
Boolean |
getCcMe()
Gets the carbon copy me flag.
|
SheetEmailFormat |
getFormat()
Gets the sheet email format (PDF or Excel).
|
FormatDetails |
getFormatDetails()
Gets the format details (paper dimensions).
|
String |
getMessage()
Gets the message.
|
List<Recipient> |
getSendTo()
Gets the list of recipients to send to
|
String |
getSubject()
Gets the subject.
|
SheetEmail.AddSheetEmailBuilder |
setCcMe(Boolean ccMe)
Sets the carbon copy me flag.
|
SheetEmail.AddSheetEmailBuilder |
setFormat(SheetEmailFormat format)
Sets the sheet email format (PDF or Excel).
|
SheetEmail.AddSheetEmailBuilder |
setFormatDetails(FormatDetails formatDetails)
Sets the format details (paper dimensions).
|
SheetEmail.AddSheetEmailBuilder |
setMessage(String message)
Sets the message.
|
SheetEmail.AddSheetEmailBuilder |
setSendTo(List<Recipient> sendTo)
Sets the list of recipients to send to
|
SheetEmail.AddSheetEmailBuilder |
setSubject(String subject)
Sets the subject.
|
public SheetEmailFormat getFormat()
public SheetEmail.AddSheetEmailBuilder setFormat(SheetEmailFormat format)
format - the new formatpublic FormatDetails getFormatDetails()
public SheetEmail.AddSheetEmailBuilder setFormatDetails(FormatDetails formatDetails)
formatDetails - the new format detailspublic List<Recipient> getSendTo()
public SheetEmail.AddSheetEmailBuilder setSendTo(List<Recipient> sendTo)
sendTo - list of recipientspublic String getSubject()
public SheetEmail.AddSheetEmailBuilder setSubject(String subject)
subject - the new subjectpublic String getMessage()
public SheetEmail.AddSheetEmailBuilder setMessage(String message)
message - the new messagepublic Boolean getCcMe()
public SheetEmail.AddSheetEmailBuilder setCcMe(Boolean ccMe)
ccMe - the new cc mepublic SheetEmail build()
Copyright © 2014–2019 Smartsheet. All rights reserved.