public static class MailRecipientLog.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
MailRecipientLog.Builder |
attachmentNumber(Integer attachmentNumber)
附件数量
示例值:3
|
MailRecipientLog |
build() |
MailRecipientLog.Builder |
createdTimestamp(String createdTimestamp)
创建时间戳
示例值:1698729600
|
MailRecipientLog.Builder |
direction(Integer direction)
方向
示例值:1
|
MailRecipientLog.Builder |
groupTotalMember(Integer groupTotalMember)
邮件组成员总数
示例值:25
|
MailRecipientLog.Builder |
isRecipientGroup(Boolean isRecipientGroup)
是否收件人是邮件组
示例值:true
|
MailRecipientLog.Builder |
lastStatus(String lastStatus)
最后状态
示例值:已送达
|
MailRecipientLog.Builder |
lastStatusType(Integer lastStatusType)
最后状态类型
示例值:2
|
MailRecipientLog.Builder |
messageId(String messageId)
消息ID
示例值:<1698729600.12345.0@mail.example.com>
|
MailRecipientLog.Builder |
messageSize(String messageSize)
消息大小
示例值:2048000
|
MailRecipientLog.Builder |
recipient(String recipient)
收件人
示例值:li.si@example.com
|
MailRecipientLog.Builder |
recipientMailLocationText(String recipientMailLocationText)
收件人邮件位置文本
示例值:[{"param_name":"folder_name","param_type":1,"param_extra":{"zh-CN":"收件箱","en-US":"Inbox"}}]
|
MailRecipientLog.Builder |
recipientMailLocationTextValues(MailRecipientLogI18nTextParam[] recipientMailLocationTextValues)
收件人位置文本值
示例值:
|
MailRecipientLog.Builder |
recipientMailLog(MailRecipientLogItem recipientMailLog)
收件人邮件日志
示例值:
|
MailRecipientLog.Builder |
sender(String sender)
发件人
示例值:zhang.san@example.com
|
MailRecipientLog.Builder |
senderIp(String senderIp)
发件人IP
示例值:192.168.1.100
|
MailRecipientLog.Builder |
senderMailLocationText(String senderMailLocationText)
发件人邮件位置文本
示例值:{"recipient":"marketing-group@example.com","mail_log_text_list":[{"created_timestamp":1698729600,"text":"邮件已送达收件人邮箱","status_type":2,"text_value":[]}]}
|
MailRecipientLog.Builder |
senderMailLocationTextValues(MailRecipientLogI18nTextParam[] senderMailLocationTextValues)
发件人位置文本值
示例值:
|
MailRecipientLog.Builder |
subject(String subject)
主题
示例值:Q3 季度营销活动方案评审
|
public MailRecipientLog.Builder subject(String subject)
示例值:Q3 季度营销活动方案评审
subject - public MailRecipientLog.Builder direction(Integer direction)
示例值:1
direction - public MailRecipientLog.Builder sender(String sender)
示例值:zhang.san@example.com
sender - public MailRecipientLog.Builder recipient(String recipient)
示例值:li.si@example.com
recipient - public MailRecipientLog.Builder createdTimestamp(String createdTimestamp)
示例值:1698729600
createdTimestamp - public MailRecipientLog.Builder messageId(String messageId)
示例值:<1698729600.12345.0@mail.example.com>
messageId - public MailRecipientLog.Builder messageSize(String messageSize)
示例值:2048000
messageSize - public MailRecipientLog.Builder attachmentNumber(Integer attachmentNumber)
示例值:3
attachmentNumber - public MailRecipientLog.Builder lastStatus(String lastStatus)
示例值:已送达
lastStatus - public MailRecipientLog.Builder lastStatusType(Integer lastStatusType)
示例值:2
lastStatusType - public MailRecipientLog.Builder isRecipientGroup(Boolean isRecipientGroup)
示例值:true
isRecipientGroup - public MailRecipientLog.Builder groupTotalMember(Integer groupTotalMember)
示例值:25
groupTotalMember - public MailRecipientLog.Builder recipientMailLog(MailRecipientLogItem recipientMailLog)
示例值:
recipientMailLog - public MailRecipientLog.Builder senderMailLocationText(String senderMailLocationText)
示例值:{"recipient":"marketing-group@example.com","mail_log_text_list":[{"created_timestamp":1698729600,"text":"邮件已送达收件人邮箱","status_type":2,"text_value":[]}]}
senderMailLocationText - public MailRecipientLog.Builder senderMailLocationTextValues(MailRecipientLogI18nTextParam[] senderMailLocationTextValues)
示例值:
senderMailLocationTextValues - public MailRecipientLog.Builder recipientMailLocationText(String recipientMailLocationText)
示例值:[{"param_name":"folder_name","param_type":1,"param_extra":{"zh-CN":"收件箱","en-US":"Inbox"}}]
recipientMailLocationText - public MailRecipientLog.Builder recipientMailLocationTextValues(MailRecipientLogI18nTextParam[] recipientMailLocationTextValues)
示例值:
recipientMailLocationTextValues - public MailRecipientLog.Builder senderIp(String senderIp)
示例值:192.168.1.100
senderIp - public MailRecipientLog build()
Copyright © 2026. All rights reserved.