Class SMSConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.iotevents.model.SMSConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SMSConfiguration.Builder,SMSConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SMSConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SMSConfiguration.Builder,SMSConfiguration>
Contains the configuration information of SMS notifications.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSMSConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringadditionalMessage()The message that you want to send.static SMSConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasRecipients()For responses, this returns true if the service returned a value for the Recipients property.List<RecipientDetail>recipients()Specifies one or more recipients who receive the message.List<SdkField<?>>sdkFields()StringsenderId()The sender ID.static Class<? extends SMSConfiguration.Builder>serializableBuilderClass()SMSConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
senderId
public final String senderId()
The sender ID.
- Returns:
- The sender ID.
-
additionalMessage
public final String additionalMessage()
The message that you want to send. The message can be up to 200 characters.
- Returns:
- The message that you want to send. The message can be up to 200 characters.
-
hasRecipients
public final boolean hasRecipients()
For responses, this returns true if the service returned a value for the Recipients property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
recipients
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasRecipients()method.- Returns:
- Specifies one or more recipients who receive the message.
You must add the users that receive SMS messages to your AWS SSO store.
-
toBuilder
public SMSConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SMSConfiguration.Builder,SMSConfiguration>
-
builder
public static SMSConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SMSConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-