Class Template
java.lang.Object
software.amazon.awssdk.services.ses.model.Template
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Template.Builder,Template>
@Generated("software.amazon.awssdk:codegen")
public final class Template
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<Template.Builder,Template>
The content of the email, composed of a subject line and either an HTML part or a text-only part.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Template.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringhtmlPart()The HTML body of the email.static Class<? extends Template.Builder>final StringThe subject line of the email.final StringThe name of the template.final StringtextPart()The email body that is visible to recipients whose email clients do not display HTML content.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
templateName
The name of the template. You use this name when you send email using the
SendTemplatedEmailorSendBulkTemplatedEmailoperations.- Returns:
- The name of the template. You use this name when you send email using the
SendTemplatedEmailorSendBulkTemplatedEmailoperations.
-
subjectPart
The subject line of the email.
- Returns:
- The subject line of the email.
-
textPart
The email body that is visible to recipients whose email clients do not display HTML content.
- Returns:
- The email body that is visible to recipients whose email clients do not display HTML content.
-
htmlPart
The HTML body of the email.
- Returns:
- The HTML body of the email.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<Template.Builder,Template>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-