public static class EmailSubmittedResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EmailSubmittedResponse |
build() |
EmailSubmittedResponse.Builder |
copy(EmailSubmittedResponse model) |
EmailSubmittedResponse.Builder |
envelopeId(String envelopeId)
Email Delivery generated unique Envelope ID of the email submission.
|
EmailSubmittedResponse.Builder |
messageId(String messageId)
The unique ID for the email’s Message-ID header used for service log correlation.
|
EmailSubmittedResponse.Builder |
suppressedRecipients(List<EmailAddress> suppressedRecipients)
Return list of suppressed email addresses.
|
public EmailSubmittedResponse.Builder messageId(String messageId)
The unique ID for the email’s Message-ID header used for service log correlation. The submission will return an error if the syntax is not a valid RFC 5322 Message-ID. This will be generated if not provided. Example: sdiofu234qwermls24fd@mail.example.com
messageId
- the value to setpublic EmailSubmittedResponse.Builder envelopeId(String envelopeId)
Email Delivery generated unique Envelope ID of the email submission. If you need to contact Email Delivery about a particular request, please provide the Envelope ID.
envelopeId
- the value to setpublic EmailSubmittedResponse.Builder suppressedRecipients(List<EmailAddress> suppressedRecipients)
Return list of suppressed email addresses.
suppressedRecipients
- the value to setpublic EmailSubmittedResponse build()
public EmailSubmittedResponse.Builder copy(EmailSubmittedResponse model)
Copyright © 2016–2024. All rights reserved.