@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMSChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the status and settings of the SMS channel for an application.
Constructor and Description |
---|
SMSChannelRequest() |
Modifier and Type | Method and Description |
---|---|
SMSChannelRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Specifies whether to enable the SMS channel for the application.
|
String |
getSenderId()
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
|
String |
getShortCode()
The registered short code that you want to use when you send messages through the SMS channel.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether to enable the SMS channel for the application.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Specifies whether to enable the SMS channel for the application.
|
void |
setSenderId(String senderId)
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
|
void |
setShortCode(String shortCode)
The registered short code that you want to use when you send messages through the SMS channel.
|
String |
toString()
Returns a string representation of this object.
|
SMSChannelRequest |
withEnabled(Boolean enabled)
Specifies whether to enable the SMS channel for the application.
|
SMSChannelRequest |
withSenderId(String senderId)
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
|
SMSChannelRequest |
withShortCode(String shortCode)
The registered short code that you want to use when you send messages through the SMS channel.
|
public void setEnabled(Boolean enabled)
Specifies whether to enable the SMS channel for the application.
enabled
- Specifies whether to enable the SMS channel for the application.public Boolean getEnabled()
Specifies whether to enable the SMS channel for the application.
public SMSChannelRequest withEnabled(Boolean enabled)
Specifies whether to enable the SMS channel for the application.
enabled
- Specifies whether to enable the SMS channel for the application.public Boolean isEnabled()
Specifies whether to enable the SMS channel for the application.
public void setSenderId(String senderId)
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
senderId
- The identity that you want to display on recipients' devices when they receive messages from the SMS
channel.public String getSenderId()
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
public SMSChannelRequest withSenderId(String senderId)
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
senderId
- The identity that you want to display on recipients' devices when they receive messages from the SMS
channel.public void setShortCode(String shortCode)
The registered short code that you want to use when you send messages through the SMS channel.
shortCode
- The registered short code that you want to use when you send messages through the SMS channel.public String getShortCode()
The registered short code that you want to use when you send messages through the SMS channel.
public SMSChannelRequest withShortCode(String shortCode)
The registered short code that you want to use when you send messages through the SMS channel.
shortCode
- The registered short code that you want to use when you send messages through the SMS channel.public String toString()
toString
in class Object
Object.toString()
public SMSChannelRequest clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.