public static final class CfnCampaign.CampaignSmsMessageProperty.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnCampaign.CampaignSmsMessageProperty
CfnCampaign.CampaignSmsMessageProperty
CfnCampaign.CampaignSmsMessageProperty.Builder, CfnCampaign.CampaignSmsMessageProperty.Jsii$Proxy
Modifier | Constructor and Description |
---|---|
protected |
Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.
|
Modifier and Type | Method and Description |
---|---|
com.fasterxml.jackson.databind.JsonNode |
$jsii$toJson() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBody()
The body of the SMS message.
|
java.lang.String |
getEntityId()
The entity ID or Principal Entity (PE) id received from the regulatory body for sending SMS in your country.
|
java.lang.String |
getMessageType()
The SMS message type.
|
java.lang.String |
getOriginationNumber()
The long code to send the SMS message from.
|
java.lang.String |
getSenderId()
The alphabetic Sender ID to display as the sender of the message on a recipient's device.
|
java.lang.String |
getTemplateId()
The template ID received from the regulatory body for sending SMS in your country.
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
builder
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
objRef
- Reference to the JSII managed object.public final java.lang.String getBody()
CfnCampaign.CampaignSmsMessageProperty
getBody
in interface CfnCampaign.CampaignSmsMessageProperty
public final java.lang.String getEntityId()
CfnCampaign.CampaignSmsMessageProperty
getEntityId
in interface CfnCampaign.CampaignSmsMessageProperty
public final java.lang.String getMessageType()
CfnCampaign.CampaignSmsMessageProperty
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).
getMessageType
in interface CfnCampaign.CampaignSmsMessageProperty
public final java.lang.String getOriginationNumber()
CfnCampaign.CampaignSmsMessageProperty
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.
getOriginationNumber
in interface CfnCampaign.CampaignSmsMessageProperty
public final java.lang.String getSenderId()
CfnCampaign.CampaignSmsMessageProperty
Support for sender IDs varies by country or region. To specify a phone number as the sender, omit this parameter and use OriginationNumber
instead. For more information about support for Sender ID by country, see the Amazon Pinpoint User Guide .
getSenderId
in interface CfnCampaign.CampaignSmsMessageProperty
public final java.lang.String getTemplateId()
CfnCampaign.CampaignSmsMessageProperty
getTemplateId
in interface CfnCampaign.CampaignSmsMessageProperty
public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
public final boolean equals(java.lang.Object o)
public final int hashCode()