public static interface MessageDsn.Builder extends CopyableBuilder<MessageDsn.Builder,MessageDsn>
Modifier and Type | Method and Description |
---|---|
MessageDsn.Builder |
arrivalDate(Instant arrivalDate)
When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.
|
MessageDsn.Builder |
extensionFields(Collection<ExtensionField> extensionFields)
Additional X-headers to include in the DSN.
|
MessageDsn.Builder |
extensionFields(Consumer<ExtensionField.Builder>... extensionFields)
Additional X-headers to include in the DSN.
|
MessageDsn.Builder |
extensionFields(ExtensionField... extensionFields)
Additional X-headers to include in the DSN.
|
MessageDsn.Builder |
reportingMta(String reportingMta)
The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (
mta-name-type; mta-name ). |
copy
applyMutation, build
MessageDsn.Builder reportingMta(String reportingMta)
The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name
). The default
value is dns; inbound-smtp.[region].amazonaws.com
.
reportingMta
- The reporting MTA that attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name
). The
default value is dns; inbound-smtp.[region].amazonaws.com
.MessageDsn.Builder arrivalDate(Instant arrivalDate)
When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.
arrivalDate
- When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.MessageDsn.Builder extensionFields(Collection<ExtensionField> extensionFields)
Additional X-headers to include in the DSN.
extensionFields
- Additional X-headers to include in the DSN.MessageDsn.Builder extensionFields(ExtensionField... extensionFields)
Additional X-headers to include in the DSN.
extensionFields
- Additional X-headers to include in the DSN.MessageDsn.Builder extensionFields(Consumer<ExtensionField.Builder>... extensionFields)
Additional X-headers to include in the DSN.
This is a convenience that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #extensionFields(List)
.extensionFields
- a consumer that will call methods on List.Builder
#extensionFields(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.