Interface GetEmailTemplateResponse.Builder

    • Method Detail

      • templateName

        GetEmailTemplateResponse.Builder templateName​(String templateName)

        The name of the template.

        Parameters:
        templateName - The name of the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateContent

        GetEmailTemplateResponse.Builder templateContent​(EmailTemplateContent templateContent)

        The content of the email template, composed of a subject line, an HTML part, and a text-only part.

        Parameters:
        templateContent - The content of the email template, composed of a subject line, an HTML part, and a text-only part.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetEmailTemplateResponse.Builder tags​(Collection<Tag> tags)

        An array of objects that define the tags (keys and values) that are associated with the email template.

        Parameters:
        tags - An array of objects that define the tags (keys and values) that are associated with the email template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetEmailTemplateResponse.Builder tags​(Tag... tags)

        An array of objects that define the tags (keys and values) that are associated with the email template.

        Parameters:
        tags - An array of objects that define the tags (keys and values) that are associated with the email template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        GetEmailTemplateResponse.Builder tags​(Consumer<Tag.Builder>... tags)

        An array of objects that define the tags (keys and values) that are associated with the email template.

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

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

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