Class NotifyEmailType
java.lang.Object
software.amazon.awssdk.services.cognitoidentityprovider.model.NotifyEmailType
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NotifyEmailType.Builder,NotifyEmailType>
@Generated("software.amazon.awssdk:codegen")
public final class NotifyEmailType
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<NotifyEmailType.Builder,NotifyEmailType>
The template for email messages that threat protection sends to a user when your threat protection automated response has a Notify action.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic NotifyEmailType.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringhtmlBody()The body of an email notification formatted in HTML.static Class<? extends NotifyEmailType.Builder>final Stringsubject()The subject of the threat protection email notification.final StringtextBody()The body of an email notification formatted in plaintext.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
-
subject
The subject of the threat protection email notification.
- Returns:
- The subject of the threat protection email notification.
-
htmlBody
The body of an email notification formatted in HTML. Choose an
HtmlBodyor aTextBodyto send an HTML-formatted or plaintext message, respectively.- Returns:
- The body of an email notification formatted in HTML. Choose an
HtmlBodyor aTextBodyto send an HTML-formatted or plaintext message, respectively.
-
textBody
The body of an email notification formatted in plaintext. Choose an
HtmlBodyor aTextBodyto send an HTML-formatted or plaintext message, respectively.- Returns:
- The body of an email notification formatted in plaintext. Choose an
HtmlBodyor aTextBodyto send an HTML-formatted or plaintext message, respectively.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotifyEmailType.Builder,NotifyEmailType>
-
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
-