Interface TemplateVersionResponse.Builder

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

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

    • creationDate

      TemplateVersionResponse.Builder creationDate(String creationDate)

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

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

      TemplateVersionResponse.Builder defaultSubstitutions(String defaultSubstitutions)

      A JSON object that specifies the default values that are used for message variables in the version of 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 - A JSON object that specifies the default values that are used for message variables in the version of 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.
    • lastModifiedDate

      TemplateVersionResponse.Builder lastModifiedDate(String lastModifiedDate)

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

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

      TemplateVersionResponse.Builder templateDescription(String templateDescription)

      The custom description of the version of the message template.

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

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

      TemplateVersionResponse.Builder templateType(String templateType)

      The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.

      Parameters:
      templateType - The type of channel that the message template is designed for. Possible values are: EMAIL, PUSH, SMS, INAPP, and VOICE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.

      Parameters:
      version - The unique identifier for the version of the message template. This value is an integer that Amazon Pinpoint automatically increments and assigns to each new version of a template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.