Interface InAppTemplateResponse.Builder

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

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

    • 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

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

      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

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

      InAppTemplateResponse.Builder templateType(String templateType)

      The type of the template.

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

      InAppTemplateResponse.Builder templateType(TemplateType templateType)

      The type of the template.

      Parameters:
      templateType - The type of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.