public static interface CampaignSmsMessage.Builder extends SdkPojo, CopyableBuilder<CampaignSmsMessage.Builder,CampaignSmsMessage>
Modifier and Type | Method and Description |
---|---|
CampaignSmsMessage.Builder |
body(String body)
The body of the SMS message.
|
CampaignSmsMessage.Builder |
messageType(MessageType messageType)
The type of SMS message.
|
CampaignSmsMessage.Builder |
messageType(String messageType)
The type of SMS message.
|
CampaignSmsMessage.Builder |
senderId(String senderId)
The sender ID to display on recipients' devices when they receive the SMS message.
|
copy
applyMutation, build
CampaignSmsMessage.Builder body(String body)
The body of the SMS message.
body
- The body of the SMS message.CampaignSmsMessage.Builder messageType(String messageType)
The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn't critical or time-sensitive, such as a marketing message.
messageType
- The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive,
such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn't
critical or time-sensitive, such as a marketing message.MessageType
,
MessageType
CampaignSmsMessage.Builder messageType(MessageType messageType)
The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive, such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn't critical or time-sensitive, such as a marketing message.
messageType
- The type of SMS message. Valid values are: TRANSACTIONAL, the message is critical or time-sensitive,
such as a one-time password that supports a customer transaction; and, PROMOTIONAL, the message isn't
critical or time-sensitive, such as a marketing message.MessageType
,
MessageType
CampaignSmsMessage.Builder senderId(String senderId)
The sender ID to display on recipients' devices when they receive the SMS message.
senderId
- The sender ID to display on recipients' devices when they receive the SMS message.Copyright © 2019. All rights reserved.