Interface JourneySMSMessage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<JourneySMSMessage.Builder,JourneySMSMessage>,SdkBuilder<JourneySMSMessage.Builder,JourneySMSMessage>,SdkPojo
- Enclosing class:
- JourneySMSMessage
public static interface JourneySMSMessage.Builder extends SdkPojo, CopyableBuilder<JourneySMSMessage.Builder,JourneySMSMessage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JourneySMSMessage.BuilderentityId(String entityId)The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.JourneySMSMessage.BuildermessageType(String messageType)The SMS message type.JourneySMSMessage.BuildermessageType(MessageType messageType)The SMS message type.JourneySMSMessage.BuilderoriginationNumber(String originationNumber)The long code to send the SMS message from.JourneySMSMessage.BuildersenderId(String senderId)The sender ID to display as the sender of the message on a recipient's device.JourneySMSMessage.BuildertemplateId(String templateId)The template ID received from the regulatory body for sending SMS in your country.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
messageType
JourneySMSMessage.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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageType,MessageType
-
messageType
JourneySMSMessage.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).
- Parameters:
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).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
MessageType,MessageType
-
originationNumber
JourneySMSMessage.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
senderId
JourneySMSMessage.Builder senderId(String senderId)
The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide.
- Parameters:
senderId- The sender ID to display as the sender of the message on a recipient's device. Support for sender IDs varies by country or region. For more information, see Supported Countries and Regions in the Amazon Pinpoint User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
entityId
JourneySMSMessage.Builder entityId(String entityId)
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
- Parameters:
entityId- The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templateId
JourneySMSMessage.Builder templateId(String templateId)
The template ID received from the regulatory body for sending SMS in your country.
- Parameters:
templateId- The template ID received from the regulatory body for sending SMS in your country.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-