Class TemplateConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.pinpoint.model.TemplateConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<TemplateConfiguration.Builder,TemplateConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class TemplateConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemplateConfiguration.Builder,TemplateConfiguration>
Specifies the message template to use for the message, for each type of channel.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceTemplateConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TemplateConfiguration.Builderbuilder()TemplateemailTemplate()The email template to use for the message.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()TemplateinAppTemplate()The InApp template to use for the message.TemplatepushTemplate()The push notification template to use for the message.List<SdkField<?>>sdkFields()static Class<? extends TemplateConfiguration.Builder>serializableBuilderClass()TemplatesmsTemplate()The SMS template to use for the message.TemplateConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.TemplatevoiceTemplate()The voice template to use for the message.-
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
-
emailTemplate
public final Template emailTemplate()
The email template to use for the message.
- Returns:
- The email template to use for the message.
-
pushTemplate
public final Template pushTemplate()
The push notification template to use for the message.
- Returns:
- The push notification template to use for the message.
-
smsTemplate
public final Template smsTemplate()
The SMS template to use for the message.
- Returns:
- The SMS template to use for the message.
-
voiceTemplate
public final Template voiceTemplate()
The voice template to use for the message. This object isn't supported for campaigns.
- Returns:
- The voice template to use for the message. This object isn't supported for campaigns.
-
inAppTemplate
public final Template inAppTemplate()
The InApp template to use for the message. The InApp template object is not supported for SendMessages.
- Returns:
- The InApp template to use for the message. The InApp template object is not supported for SendMessages.
-
toBuilder
public TemplateConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TemplateConfiguration.Builder,TemplateConfiguration>
-
builder
public static TemplateConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends TemplateConfiguration.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.
-
-