Class EmailTemplateContent
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.model.EmailTemplateContent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EmailTemplateContent.Builder,EmailTemplateContent>
@Generated("software.amazon.awssdk:codegen") public final class EmailTemplateContent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmailTemplateContent.Builder,EmailTemplateContent>
The content of the email, composed of a subject line, an HTML part, and a text-only part.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEmailTemplateContent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmailTemplateContent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringhtml()The HTML body of the email.List<SdkField<?>>sdkFields()static Class<? extends EmailTemplateContent.Builder>serializableBuilderClass()Stringsubject()The subject line of the email.Stringtext()The email body that will be visible to recipients whose email clients do not display HTML.EmailTemplateContent.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
-
subject
public final String subject()
The subject line of the email.
- Returns:
- The subject line of the email.
-
text
public final String text()
The email body that will be visible to recipients whose email clients do not display HTML.
- Returns:
- The email body that will be visible to recipients whose email clients do not display HTML.
-
html
public final String html()
The HTML body of the email.
- Returns:
- The HTML body of the email.
-
toBuilder
public EmailTemplateContent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EmailTemplateContent.Builder,EmailTemplateContent>
-
builder
public static EmailTemplateContent.Builder builder()
-
serializableBuilderClass
public static Class<? extends EmailTemplateContent.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.
-
-