Interface NotifyTemplateInformation.Builder

  • Method Details

    • templateId

      NotifyTemplateInformation.Builder templateId(String templateId)

      The unique identifier for the template.

      Parameters:
      templateId - The unique identifier for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • version

      The version of the template.

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

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

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

      NotifyTemplateInformation.Builder channelsWithStrings(Collection<String> channels)

      The channels for the template. Supported values are SMS and VOICE.

      Parameters:
      channels - The channels for the template. Supported values are SMS and VOICE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channelsWithStrings

      NotifyTemplateInformation.Builder channelsWithStrings(String... channels)

      The channels for the template. Supported values are SMS and VOICE.

      Parameters:
      channels - The channels for the template. Supported values are SMS and VOICE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channels

      The channels for the template. Supported values are SMS and VOICE.

      Parameters:
      channels - The channels for the template. Supported values are SMS and VOICE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • channels

      The channels for the template. Supported values are SMS and VOICE.

      Parameters:
      channels - The channels for the template. Supported values are SMS and VOICE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tierAccessWithStrings

      NotifyTemplateInformation.Builder tierAccessWithStrings(Collection<String> tierAccess)

      The tier access level for the template.

      Parameters:
      tierAccess - The tier access level for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tierAccessWithStrings

      NotifyTemplateInformation.Builder tierAccessWithStrings(String... tierAccess)

      The tier access level for the template.

      Parameters:
      tierAccess - The tier access level for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tierAccess

      The tier access level for the template.

      Parameters:
      tierAccess - The tier access level for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tierAccess

      The tier access level for the template.

      Parameters:
      tierAccess - The tier access level for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the template.

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

      The current status of the template.

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

      NotifyTemplateInformation.Builder supportedCountries(Collection<String> supportedCountries)

      An array of supported country codes for the template.

      Parameters:
      supportedCountries - An array of supported country codes for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedCountries

      NotifyTemplateInformation.Builder supportedCountries(String... supportedCountries)

      An array of supported country codes for the template.

      Parameters:
      supportedCountries - An array of supported country codes for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • languageCode

      NotifyTemplateInformation.Builder languageCode(String languageCode)

      The language code for the template.

      Parameters:
      languageCode - The language code for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • content

      The content of the template.

      Parameters:
      content - The content of the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • variables

      An array of template variable metadata for the template.

      Parameters:
      variables - An array of template variable metadata for the template.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedVoiceIdsWithStrings

      NotifyTemplateInformation.Builder supportedVoiceIdsWithStrings(Collection<String> supportedVoiceIds)

      An array of supported voice IDs for voice templates.

      Parameters:
      supportedVoiceIds - An array of supported voice IDs for voice templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedVoiceIdsWithStrings

      NotifyTemplateInformation.Builder supportedVoiceIdsWithStrings(String... supportedVoiceIds)

      An array of supported voice IDs for voice templates.

      Parameters:
      supportedVoiceIds - An array of supported voice IDs for voice templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedVoiceIds

      NotifyTemplateInformation.Builder supportedVoiceIds(Collection<VoiceId> supportedVoiceIds)

      An array of supported voice IDs for voice templates.

      Parameters:
      supportedVoiceIds - An array of supported voice IDs for voice templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • supportedVoiceIds

      NotifyTemplateInformation.Builder supportedVoiceIds(VoiceId... supportedVoiceIds)

      An array of supported voice IDs for voice templates.

      Parameters:
      supportedVoiceIds - An array of supported voice IDs for voice templates.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdTimestamp

      NotifyTemplateInformation.Builder createdTimestamp(Instant createdTimestamp)

      The time when the notify template was created, in UNIX epoch time format.

      Parameters:
      createdTimestamp - The time when the notify template was created, in UNIX epoch time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.