@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SMSConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains the configuration information of SMS notifications.
Constructor and Description |
---|
SMSConfiguration() |
Modifier and Type | Method and Description |
---|---|
SMSConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAdditionalMessage()
The message that you want to send.
|
List<RecipientDetail> |
getRecipients()
Specifies one or more recipients who receive the message.
|
String |
getSenderId()
The sender ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalMessage(String additionalMessage)
The message that you want to send.
|
void |
setRecipients(Collection<RecipientDetail> recipients)
Specifies one or more recipients who receive the message.
|
void |
setSenderId(String senderId)
The sender ID.
|
String |
toString()
Returns a string representation of this object.
|
SMSConfiguration |
withAdditionalMessage(String additionalMessage)
The message that you want to send.
|
SMSConfiguration |
withRecipients(Collection<RecipientDetail> recipients)
Specifies one or more recipients who receive the message.
|
SMSConfiguration |
withRecipients(RecipientDetail... recipients)
Specifies one or more recipients who receive the message.
|
SMSConfiguration |
withSenderId(String senderId)
The sender ID.
|
public void setSenderId(String senderId)
The sender ID.
senderId
- The sender ID.public String getSenderId()
The sender ID.
public SMSConfiguration withSenderId(String senderId)
The sender ID.
senderId
- The sender ID.public void setAdditionalMessage(String additionalMessage)
The message that you want to send. The message can be up to 200 characters.
additionalMessage
- The message that you want to send. The message can be up to 200 characters.public String getAdditionalMessage()
The message that you want to send. The message can be up to 200 characters.
public SMSConfiguration withAdditionalMessage(String additionalMessage)
The message that you want to send. The message can be up to 200 characters.
additionalMessage
- The message that you want to send. The message can be up to 200 characters.public List<RecipientDetail> getRecipients()
Specifies one or more recipients who receive the message.
You must add the users that receive SMS messages to your AWS SSO store.
You must add the users that receive SMS messages to your AWS SSO store.
public void setRecipients(Collection<RecipientDetail> recipients)
Specifies one or more recipients who receive the message.
You must add the users that receive SMS messages to your AWS SSO store.
recipients
- Specifies one or more recipients who receive the message. You must add the users that receive SMS messages to your AWS SSO store.
public SMSConfiguration withRecipients(RecipientDetail... recipients)
Specifies one or more recipients who receive the message.
You must add the users that receive SMS messages to your AWS SSO store.
NOTE: This method appends the values to the existing list (if any). Use
setRecipients(java.util.Collection)
or withRecipients(java.util.Collection)
if you want to
override the existing values.
recipients
- Specifies one or more recipients who receive the message. You must add the users that receive SMS messages to your AWS SSO store.
public SMSConfiguration withRecipients(Collection<RecipientDetail> recipients)
Specifies one or more recipients who receive the message.
You must add the users that receive SMS messages to your AWS SSO store.
recipients
- Specifies one or more recipients who receive the message. You must add the users that receive SMS messages to your AWS SSO store.
public String toString()
toString
in class Object
Object.toString()
public SMSConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.