@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CampaignSmsMessage extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
CampaignSmsMessage() |
| Modifier and Type | Method and Description |
|---|---|
CampaignSmsMessage |
clone() |
boolean |
equals(Object obj) |
String |
getBody()
The SMS text body.
|
String |
getMessageType()
Is this is a transactional SMS message, otherwise a promotional message.
|
String |
getSenderId()
Sender ID of sent message.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBody(String body)
The SMS text body.
|
void |
setMessageType(MessageType messageType)
Is this is a transactional SMS message, otherwise a promotional message.
|
void |
setMessageType(String messageType)
Is this is a transactional SMS message, otherwise a promotional message.
|
void |
setSenderId(String senderId)
Sender ID of sent message.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CampaignSmsMessage |
withBody(String body)
The SMS text body.
|
CampaignSmsMessage |
withMessageType(MessageType messageType)
Is this is a transactional SMS message, otherwise a promotional message.
|
CampaignSmsMessage |
withMessageType(String messageType)
Is this is a transactional SMS message, otherwise a promotional message.
|
CampaignSmsMessage |
withSenderId(String senderId)
Sender ID of sent message.
|
public void setBody(String body)
body - The SMS text body.public String getBody()
public CampaignSmsMessage withBody(String body)
body - The SMS text body.public void setMessageType(String messageType)
messageType - Is this is a transactional SMS message, otherwise a promotional message.MessageTypepublic String getMessageType()
MessageTypepublic CampaignSmsMessage withMessageType(String messageType)
messageType - Is this is a transactional SMS message, otherwise a promotional message.MessageTypepublic void setMessageType(MessageType messageType)
messageType - Is this is a transactional SMS message, otherwise a promotional message.MessageTypepublic CampaignSmsMessage withMessageType(MessageType messageType)
messageType - Is this is a transactional SMS message, otherwise a promotional message.MessageTypepublic void setSenderId(String senderId)
senderId - Sender ID of sent message.public String getSenderId()
public CampaignSmsMessage withSenderId(String senderId)
senderId - Sender ID of sent message.public String toString()
toString in class ObjectObject.toString()public CampaignSmsMessage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.