Interface Template.Builder

    • Method Detail

      • templateName

        Template.Builder templateName​(String templateName)

        The name of the template. You use this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.

        Parameters:
        templateName - The name of the template. You use this name when you send email using the SendTemplatedEmail or SendBulkTemplatedEmail operations.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subjectPart

        Template.Builder subjectPart​(String subjectPart)

        The subject line of the email.

        Parameters:
        subjectPart - The subject line of the email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • textPart

        Template.Builder textPart​(String textPart)

        The email body that is visible to recipients whose email clients do not display HTML content.

        Parameters:
        textPart - The email body that is visible to recipients whose email clients do not display HTML content.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • htmlPart

        Template.Builder htmlPart​(String htmlPart)

        The HTML body of the email.

        Parameters:
        htmlPart - The HTML body of the email.
        Returns:
        Returns a reference to this object so that method calls can be chained together.