Interface SMSTemplateResponse.Builder

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

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

    • arn

      The Amazon Resource Name (ARN) of the message template.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the message template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • body

      The message body that's used in text messages that are based on the message template.

      Parameters:
      body - The message body that's used in text messages that are based on the message template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationDate

      SMSTemplateResponse.Builder creationDate(String creationDate)

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

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

      SMSTemplateResponse.Builder defaultSubstitutions(String defaultSubstitutions)

      The JSON object that specifies the default values that are used for message variables in 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 - The JSON object that specifies the default values that are used for message variables in 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

      SMSTemplateResponse.Builder lastModifiedDate(String lastModifiedDate)

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

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

      SMSTemplateResponse.Builder recommenderId(String recommenderId)

      The unique identifier for the recommender model that's used by the message template.

      Parameters:
      recommenderId - The unique identifier for the recommender model that's used by the message template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A string-to-string map of key-value pairs that identifies the tags that are associated 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 identifies the tags that are associated 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

      SMSTemplateResponse.Builder templateDescription(String templateDescription)

      The custom description of the message template.

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

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

      SMSTemplateResponse.Builder templateType(String templateType)

      The type of channel that the message template is designed for. For an SMS template, this value is SMS.

      Parameters:
      templateType - The type of channel that the message template is designed for. For an SMS template, this value is SMS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • templateType

      SMSTemplateResponse.Builder templateType(TemplateType templateType)

      The type of channel that the message template is designed for. For an SMS template, this value is SMS.

      Parameters:
      templateType - The type of channel that the message template is designed for. For an SMS template, this value is SMS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • version

      The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.

      Parameters:
      version - The unique identifier, as an integer, for the active version of the message template, or the version of the template that you specified by using the version parameter in your request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.