Class SendSmsBatchTextRequest.Builder

java.lang.Object
com.sinch.sdk.domains.sms.models.requests.SendSmsBatchTextRequest.Builder
Enclosing class:
SendSmsBatchTextRequest

public static class SendSmsBatchTextRequest.Builder extends Object
  • Method Details

    • setFlashMessage

      public SendSmsBatchTextRequest.Builder setFlashMessage(boolean flashMessage)
      Parameters:
      flashMessage - If sent as a flash message, displays true.
      Returns:
      current builder
    • setParameters

      public SendSmsBatchTextRequest.Builder setParameters(Parameters parameters)
      Parameters:
      parameters - Contains the parameters that will be used for customizing the message for each recipient.
      Returns:
      current builder
    • setTruncateConcat

      public SendSmsBatchTextRequest.Builder setTruncateConcat(Boolean truncateConcat)
      Parameters:
      truncateConcat - If set to true, the message was shortened when exceeding one part.
      Returns:
      current builder
    • setMaxNumberOfMessageParts

      public SendSmsBatchTextRequest.Builder setMaxNumberOfMessageParts(Integer maxNumberOfMessageParts)
      Parameters:
      maxNumberOfMessageParts - Displays the number of message parts set in the request.
      Returns:
      current builder
    • setFromTon

      public SendSmsBatchTextRequest.Builder setFromTon(Integer fromTon)
      Parameters:
      fromTon - The type of number for the sender number.
      Returns:
      current builder
    • setFromNpi

      public SendSmsBatchTextRequest.Builder setFromNpi(Integer fromNpi)
      Parameters:
      fromNpi - Number Plan Indicator for the sender number.
      Returns:
      current builder
    • build

      public SendSmsBatchTextRequest build()