Class NotifyConfigurationType
- java.lang.Object
-
- software.amazon.awssdk.services.cognitoidentityprovider.model.NotifyConfigurationType
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>
@Generated("software.amazon.awssdk:codegen") public final class NotifyConfigurationType extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>
The configuration for Amazon SES email messages that advanced security features sends to a user when your adaptive authentication 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 interfaceNotifyConfigurationType.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NotifyEmailTypeblockEmail()The template for the email message that your user pool sends when a detected risk event is blocked.static NotifyConfigurationType.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfrom()The email address that sends the email message.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NotifyEmailTypemfaEmail()The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.NotifyEmailTypenoActionEmail()The template for the email message that your user pool sends when no action is taken in response to a detected risk.StringreplyTo()The reply-to email address of an email template.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NotifyConfigurationType.Builder>serializableBuilderClass()StringsourceArn()The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.NotifyConfigurationType.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
-
from
public final String from()
The email address that sends the email message. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
- Returns:
- The email address that sends the email message. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
-
replyTo
public final String replyTo()
The reply-to email address of an email template.
- Returns:
- The reply-to email address of an email template.
-
sourceArn
public final String sourceArn()
The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy. This identity permits Amazon Cognito to send for the email address specified in the
Fromparameter.- Returns:
- The Amazon Resource Name (ARN) of the identity that is associated with the sending authorization policy.
This identity permits Amazon Cognito to send for the email address specified in the
Fromparameter.
-
blockEmail
public final NotifyEmailType blockEmail()
The template for the email message that your user pool sends when a detected risk event is blocked.
- Returns:
- The template for the email message that your user pool sends when a detected risk event is blocked.
-
noActionEmail
public final NotifyEmailType noActionEmail()
The template for the email message that your user pool sends when no action is taken in response to a detected risk.
- Returns:
- The template for the email message that your user pool sends when no action is taken in response to a detected risk.
-
mfaEmail
public final NotifyEmailType mfaEmail()
The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.
- Returns:
- The template for the email message that your user pool sends when MFA is challenged in response to a detected risk.
-
toBuilder
public NotifyConfigurationType.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NotifyConfigurationType.Builder,NotifyConfigurationType>
-
builder
public static NotifyConfigurationType.Builder builder()
-
serializableBuilderClass
public static Class<? extends NotifyConfigurationType.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
-
-