JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.simpleemail.model

Class Template

    • Constructor Detail

      • Template

        public Template()
    • Method Detail

      • setTemplateName

        public void setTemplateName(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.
      • getTemplateName

        public String getTemplateName()

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

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

        public Template withTemplateName(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.
      • setSubjectPart

        public void setSubjectPart(String subjectPart)

        The subject line of the email.

        Parameters:
        subjectPart - The subject line of the email.
      • getSubjectPart

        public String getSubjectPart()

        The subject line of the email.

        Returns:
        The subject line of the email.
      • withSubjectPart

        public Template withSubjectPart(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.
      • setTextPart

        public void setTextPart(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.
      • getTextPart

        public String getTextPart()

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

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

        public Template withTextPart(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.
      • setHtmlPart

        public void setHtmlPart(String htmlPart)

        The HTML body of the email.

        Parameters:
        htmlPart - The HTML body of the email.
      • getHtmlPart

        public String getHtmlPart()

        The HTML body of the email.

        Returns:
        The HTML body of the email.
      • withHtmlPart

        public Template withHtmlPart(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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /