Interface BulkEmailEntry.Builder

    • Method Detail

      • destination

        BulkEmailEntry.Builder destination​(Destination destination)

        Represents the destination of the message, consisting of To:, CC:, and BCC: fields.

        Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.

        Parameters:
        destination - Represents the destination of the message, consisting of To:, CC:, and BCC: fields.

        Amazon SES does not support the SMTPUTF8 extension, as described in RFC6531. For this reason, the local part of a destination email address (the part of the email address that precedes the @ sign) may only contain 7-bit ASCII characters. If the domain part of an address (the part after the @ sign) contains non-ASCII characters, they must be encoded using Punycode, as described in RFC3492.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replacementTags

        BulkEmailEntry.Builder replacementTags​(Collection<MessageTag> replacementTags)

        A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendBulkTemplatedEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

        Parameters:
        replacementTags - A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendBulkTemplatedEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replacementTags

        BulkEmailEntry.Builder replacementTags​(MessageTag... replacementTags)

        A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendBulkTemplatedEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

        Parameters:
        replacementTags - A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendBulkTemplatedEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replacementTags

        BulkEmailEntry.Builder replacementTags​(Consumer<MessageTag.Builder>... replacementTags)

        A list of tags, in the form of name/value pairs, to apply to an email that you send using the SendBulkTemplatedEmail operation. Tags correspond to characteristics of the email that you define, so that you can publish email sending events.

        This is a convenience method that creates an instance of the MessageTag.Builder avoiding the need to create one manually via MessageTag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #replacementTags(List).

        Parameters:
        replacementTags - a consumer that will call methods on MessageTag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #replacementTags(java.util.Collection)
      • replacementEmailContent

        BulkEmailEntry.Builder replacementEmailContent​(ReplacementEmailContent replacementEmailContent)

        The ReplacementEmailContent associated with a BulkEmailEntry.

        Parameters:
        replacementEmailContent - The ReplacementEmailContent associated with a BulkEmailEntry.
        Returns:
        Returns a reference to this object so that method calls can be chained together.