Class SMSChannelRequest
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.SMSChannelRequest
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SMSChannelRequest.Builder,SMSChannelRequest>
@Generated("software.amazon.awssdk:codegen") public final class SMSChannelRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SMSChannelRequest.Builder,SMSChannelRequest>
Specifies the status and settings of the SMS channel for an application.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSMSChannelRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SMSChannelRequest.Builderbuilder()Booleanenabled()Specifies whether to enable the SMS channel for the application.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()StringsenderId()The identity that you want to display on recipients' devices when they receive messages from the SMS channel.static Class<? extends SMSChannelRequest.Builder>serializableBuilderClass()StringshortCode()The registered short code that you want to use when you send messages through the SMS channel.SMSChannelRequest.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
-
enabled
public final Boolean enabled()
Specifies whether to enable the SMS channel for the application.
- Returns:
- Specifies whether to enable the SMS channel for the application.
-
senderId
public final String senderId()
The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
- Returns:
- The identity that you want to display on recipients' devices when they receive messages from the SMS channel.
-
shortCode
public final String shortCode()
The registered short code that you want to use when you send messages through the SMS channel.
- Returns:
- The registered short code that you want to use when you send messages through the SMS channel.
-
toBuilder
public SMSChannelRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SMSChannelRequest.Builder,SMSChannelRequest>
-
builder
public static SMSChannelRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends SMSChannelRequest.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.
-
-