Class EmailMessageTemplateContentBody
- java.lang.Object
-
- software.amazon.awssdk.services.qconnect.model.EmailMessageTemplateContentBody
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EmailMessageTemplateContentBody.Builder,EmailMessageTemplateContentBody>
@Generated("software.amazon.awssdk:codegen") public final class EmailMessageTemplateContentBody extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EmailMessageTemplateContentBody.Builder,EmailMessageTemplateContentBody>
The body to use in email messages.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEmailMessageTemplateContentBody.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmailMessageTemplateContentBody.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MessageTemplateBodyContentProviderhtml()The message body, in HTML format, to use in email messages that are based on the message template.MessageTemplateBodyContentProviderplainText()The message body, in plain text format, to use in email messages that are based on the message template.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EmailMessageTemplateContentBody.Builder>serializableBuilderClass()EmailMessageTemplateContentBody.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
-
html
public final MessageTemplateBodyContentProvider html()
The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
- Returns:
- The message body, in HTML format, to use in email messages that are based on the message template. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
-
plainText
public final MessageTemplateBodyContentProvider plainText()
The message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
- Returns:
- The message body, in plain text format, to use in email messages that are based on the message template. We recommend using plain text format for email clients that don't render HTML content and clients that are connected to high-latency networks, such as mobile devices.
-
toBuilder
public EmailMessageTemplateContentBody.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EmailMessageTemplateContentBody.Builder,EmailMessageTemplateContentBody>
-
builder
public static EmailMessageTemplateContentBody.Builder builder()
-
serializableBuilderClass
public static Class<? extends EmailMessageTemplateContentBody.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-