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 |
entityId(String entityId)
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
|
CampaignSmsMessage.Builder |
messageType(MessageType messageType)
The SMS message type.
|
CampaignSmsMessage.Builder |
messageType(String messageType)
The SMS message type.
|
CampaignSmsMessage.Builder |
originationNumber(String originationNumber)
The long code to send the SMS message from.
|
CampaignSmsMessage.Builder |
senderId(String senderId)
The sender ID to display on recipients' devices when they receive the SMS message.
|
CampaignSmsMessage.Builder |
templateId(String templateId)
The template ID received from the regulatory body for sending SMS in your country.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCampaignSmsMessage.Builder body(String body)
The body of the SMS message.
body - The body of the SMS message.CampaignSmsMessage.Builder messageType(String messageType)
The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).
messageType - The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or
time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or
time-sensitive, such as marketing messages).MessageType,
MessageTypeCampaignSmsMessage.Builder messageType(MessageType messageType)
The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or time-sensitive, such as marketing messages).
messageType - The SMS message type. Valid values are TRANSACTIONAL (for messages that are critical or
time-sensitive, such as a one-time passwords) and PROMOTIONAL (for messsages that aren't critical or
time-sensitive, such as marketing messages).MessageType,
MessageTypeCampaignSmsMessage.Builder originationNumber(String originationNumber)
The long code to send the SMS message from. This value should be one of the dedicated long codes that's assigned to your AWS account. Although it isn't required, we recommend that you specify the long code using an E.164 format to ensure prompt and accurate delivery of the message. For example, +12065550100.
originationNumber - The long code to send the SMS message from. This value should be one of the dedicated long codes
that's assigned to your AWS account. Although it isn't required, we recommend that you specify the
long code using an E.164 format to ensure prompt and accurate delivery of the message. For example,
+12065550100.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.CampaignSmsMessage.Builder entityId(String entityId)
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
entityId - The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your
country.CampaignSmsMessage.Builder templateId(String templateId)
The template ID received from the regulatory body for sending SMS in your country.
templateId - The template ID received from the regulatory body for sending SMS in your country.Copyright © 2021. All rights reserved.