Interface InAppTemplateRequest.Builder

All Superinterfaces:
Buildable, CopyableBuilder<InAppTemplateRequest.Builder,InAppTemplateRequest>, SdkBuilder<InAppTemplateRequest.Builder,InAppTemplateRequest>, SdkPojo
Enclosing class:
InAppTemplateRequest

public static interface InAppTemplateRequest.Builder extends SdkPojo, CopyableBuilder<InAppTemplateRequest.Builder,InAppTemplateRequest>
  • Method Details

    • 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

      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

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to content(List<InAppMessageContent>).

      Parameters:
      content - a consumer that will call methods on InAppMessageContent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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:
    • 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.