public static interface SMSMessage.Builder extends SdkPojo, CopyableBuilder<SMSMessage.Builder,SMSMessage>
Modifier and Type | Method and Description |
---|---|
SMSMessage.Builder |
body(String body)
The body of the SMS message.
|
SMSMessage.Builder |
keyword(String keyword)
The SMS program name that you provided to AWS Support when you requested your dedicated number.
|
SMSMessage.Builder |
messageType(MessageType messageType)
Is this a transaction priority message or lower priority.
|
SMSMessage.Builder |
messageType(String messageType)
Is this a transaction priority message or lower priority.
|
SMSMessage.Builder |
originationNumber(String originationNumber)
The phone number that the SMS message originates from.
|
SMSMessage.Builder |
senderId(String senderId)
The sender ID that is shown as the message sender on the recipient's device.
|
SMSMessage.Builder |
substitutions(Map<String,? extends Collection<String>> substitutions)
Default message substitutions.
|
copy
applyMutation, build
SMSMessage.Builder body(String body)
body
- The body of the SMS message.SMSMessage.Builder keyword(String keyword)
keyword
- The SMS program name that you provided to AWS Support when you requested your dedicated number.SMSMessage.Builder messageType(String messageType)
messageType
- Is this a transaction priority message or lower priority.MessageType
,
MessageType
SMSMessage.Builder messageType(MessageType messageType)
messageType
- Is this a transaction priority message or lower priority.MessageType
,
MessageType
SMSMessage.Builder originationNumber(String originationNumber)
originationNumber
- The phone number that the SMS message originates from. Specify one of the dedicated long codes or
short codes that you requested from AWS Support and that is assigned to your account. If this
attribute is not specified, Amazon Pinpoint randomly assigns a long code.SMSMessage.Builder senderId(String senderId)
senderId
- The sender ID that is shown as the message sender on the recipient's device. Support for sender IDs
varies by country or region.SMSMessage.Builder substitutions(Map<String,? extends Collection<String>> substitutions)
substitutions
- Default message substitutions. Can be overridden by individual address substitutions.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.