Interface InAppTemplateResponse.Builder

    • Method Detail

      • arn

        InAppTemplateResponse.Builder arn​(String arn)

        The resource arn of the template.

        Parameters:
        arn - The resource arn of the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        InAppTemplateResponse.Builder content​(Collection<InAppMessageContent> content)

        The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.

        Parameters:
        content - The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • content

        InAppTemplateResponse.Builder content​(InAppMessageContent... content)

        The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.

        Parameters:
        content - The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • creationDate

        InAppTemplateResponse.Builder creationDate​(String creationDate)

        The creation date of the template.

        Parameters:
        creationDate - The creation date of the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customConfig

        InAppTemplateResponse.Builder customConfig​(Map<String,​String> customConfig)

        Custom config to be sent to client.

        Parameters:
        customConfig - Custom config to be sent to client.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lastModifiedDate

        InAppTemplateResponse.Builder lastModifiedDate​(String lastModifiedDate)

        The last modified date of the template.

        Parameters:
        lastModifiedDate - The last modified date of the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • layout

        InAppTemplateResponse.Builder layout​(String layout)

        The layout of the message.

        Parameters:
        layout - The layout of the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Layout, Layout
      • layout

        InAppTemplateResponse.Builder layout​(Layout layout)

        The layout of the message.

        Parameters:
        layout - The layout of the message.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        Layout, Layout
      • tags

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

        A string-to-string map of key-value pairs that defines the tags to associate 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 defines the tags to associate 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

        InAppTemplateResponse.Builder templateDescription​(String templateDescription)

        The description of the template.

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

        InAppTemplateResponse.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.
      • version

        InAppTemplateResponse.Builder version​(String version)

        The version id of the template.

        Parameters:
        version - The version id of the template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.