Interface InAppTemplateRequest.Builder

    • Method Detail

      • content

        InAppTemplateRequest.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

        InAppTemplateRequest.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.
      • customConfig

        InAppTemplateRequest.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.
      • layout

        InAppTemplateRequest.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

        InAppTemplateRequest.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

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

        As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK.

        (Deprecated) 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 - As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either Tags in the API Reference for Amazon Pinpoint, resourcegroupstaggingapi commands in the AWS Command Line Interface Documentation or resourcegroupstaggingapi in the AWS SDK.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • templateDescription

        InAppTemplateRequest.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.