public static interface MessageDsn.Builder extends SdkPojo, 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). |
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMessageDsn.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 method that creates an instance of theExtensionField.Builder avoiding the need to create one
manually via ExtensionField.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #extensionFields(List.
extensionFields - a consumer that will call methods on
ExtensionField.Builder#extensionFields(java.util.Collection) Copyright © 2023. All rights reserved.