Interface EmailTemplateResponse.Builder

    • Method Detail

      • arn

        EmailTemplateResponse.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the message template.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the message template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        EmailTemplateResponse.Builder creationDate​(String creationDate)

        The date, in ISO 8601 format, when the message template was created.

        Parameters:
        creationDate - The date, in ISO 8601 format, when the message template was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultSubstitutions

        EmailTemplateResponse.Builder defaultSubstitutions​(String defaultSubstitutions)

        The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.

        Parameters:
        defaultSubstitutions - The JSON object that specifies the default values that are used for message variables in the message template. This object is a set of key-value pairs. Each key defines a message variable in the template. The corresponding value defines the default value for that variable.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • htmlPart

        EmailTemplateResponse.Builder htmlPart​(String htmlPart)

        The message body, in HTML format, that's used in email messages that are based on the message template.

        Parameters:
        htmlPart - The message body, in HTML format, that's used in email messages that are based on the message template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        EmailTemplateResponse.Builder lastModifiedDate​(String lastModifiedDate)

        The date, in ISO 8601 format, when the message template was last modified.

        Parameters:
        lastModifiedDate - The date, in ISO 8601 format, when the message template was last modified.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recommenderId

        EmailTemplateResponse.Builder recommenderId​(String recommenderId)

        The unique identifier for the recommender model that's used by the message template.

        Parameters:
        recommenderId - The unique identifier for the recommender model that's used by the message template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subject

        EmailTemplateResponse.Builder subject​(String subject)

        The subject line, or title, that's used in email messages that are based on the message template.

        Parameters:
        subject - The subject line, or title, that's used in email messages that are based on the message template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        EmailTemplateResponse.Builder tags​(Map<String,​String> tags)

        A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.

        Parameters:
        tags - A string-to-string map of key-value pairs that identifies the tags that are associated with the message template. Each tag consists of a required tag key and an associated tag value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateDescription

        EmailTemplateResponse.Builder templateDescription​(String templateDescription)

        The custom description of the message template.

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

        EmailTemplateResponse.Builder templateName​(String templateName)

        The name of the message template.

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

        EmailTemplateResponse.Builder templateType​(String templateType)

        The type of channel that the message template is designed for. For an email template, this value is EMAIL.

        Parameters:
        templateType - The type of channel that the message template is designed for. For an email template, this value is EMAIL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TemplateType, TemplateType
      • templateType

        EmailTemplateResponse.Builder templateType​(TemplateType templateType)

        The type of channel that the message template is designed for. For an email template, this value is EMAIL.

        Parameters:
        templateType - The type of channel that the message template is designed for. For an email template, this value is EMAIL.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TemplateType, TemplateType
      • textPart

        EmailTemplateResponse.Builder textPart​(String textPart)

        The message body, in plain text format, that's used in email messages that are based on the message template.

        Parameters:
        textPart - The message body, in plain text format, that's used in email messages that are based on the message template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        EmailTemplateResponse.Builder version​(String version)

        The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.

        Parameters:
        version - The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.