public class SMSChannelRequest
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SMSChannelRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnabled()
If the channel is enabled for sending messages.
|
java.lang.String |
getSenderId()
Sender identifier of your messages.
|
java.lang.String |
getShortCode()
ShortCode registered with phone provider.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
If the channel is enabled for sending messages.
|
void |
setEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
void |
setSenderId(java.lang.String senderId)
Sender identifier of your messages.
|
void |
setShortCode(java.lang.String shortCode)
ShortCode registered with phone provider.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SMSChannelRequest |
withEnabled(java.lang.Boolean enabled)
If the channel is enabled for sending messages.
|
SMSChannelRequest |
withSenderId(java.lang.String senderId)
Sender identifier of your messages.
|
SMSChannelRequest |
withShortCode(java.lang.String shortCode)
ShortCode registered with phone provider.
|
public java.lang.Boolean isEnabled()
public java.lang.Boolean getEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled
- If the channel is enabled for sending messages.public SMSChannelRequest withEnabled(java.lang.Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled
- If the channel is enabled for sending messages.public java.lang.String getSenderId()
public void setSenderId(java.lang.String senderId)
senderId
- Sender identifier of your messages.public SMSChannelRequest withSenderId(java.lang.String senderId)
Returns a reference to this object so that method calls can be chained together.
senderId
- Sender identifier of your messages.public java.lang.String getShortCode()
public void setShortCode(java.lang.String shortCode)
shortCode
- ShortCode registered with phone provider.public SMSChannelRequest withShortCode(java.lang.String shortCode)
Returns a reference to this object so that method calls can be chained together.
shortCode
- ShortCode registered with phone provider.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.