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 advanced security features sends to a user when your threat protection automated response has a Notify action.
This data type is a request parameter of SetRiskConfiguration and a response parameter of DescribeRiskConfiguration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNotifyEmailType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotifyEmailType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhtmlBody()The body of an email notification formatted in HTML.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NotifyEmailType.Builder>serializableBuilderClass()Stringsubject()The subject of the threat protection email notification.StringtextBody()The body of an email notification formatted in plaintext.NotifyEmailType.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 of the threat protection email notification.
- Returns:
- The subject of the threat protection email notification.
-
htmlBody
public final String 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
public final String 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
public NotifyEmailType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotifyEmailType.Builder,NotifyEmailType>
-
builder
public static NotifyEmailType.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotifyEmailType.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
-
-