@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMSChannelRequest extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
SMSChannelRequest() |
Modifier and Type | Method and Description |
---|---|
SMSChannelRequest |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
String |
getSenderId()
Sender identifier of your messages.
|
String |
getShortCode()
ShortCode registered with phone provider.
|
int |
hashCode() |
Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setSenderId(String senderId)
Sender identifier of your messages.
|
void |
setShortCode(String shortCode)
ShortCode registered with phone provider.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SMSChannelRequest |
withEnabled(Boolean enabled)
If the channel is enabled for sending messages.
|
SMSChannelRequest |
withSenderId(String senderId)
Sender identifier of your messages.
|
SMSChannelRequest |
withShortCode(String shortCode)
ShortCode registered with phone provider.
|
public void setEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean getEnabled()
public SMSChannelRequest withEnabled(Boolean enabled)
enabled
- If the channel is enabled for sending messages.public Boolean isEnabled()
public void setSenderId(String senderId)
senderId
- Sender identifier of your messages.public String getSenderId()
public SMSChannelRequest withSenderId(String senderId)
senderId
- Sender identifier of your messages.public void setShortCode(String shortCode)
shortCode
- ShortCode registered with phone provider.public String getShortCode()
public SMSChannelRequest withShortCode(String shortCode)
shortCode
- ShortCode registered with phone provider.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.