public class NotifyConfigurationType
extends java.lang.Object
implements java.io.Serializable
The notify configuration type.
| Constructor and Description |
|---|
NotifyConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
NotifyEmailType |
getBlockEmail()
Email template used when a detected risk event is blocked.
|
java.lang.String |
getFrom()
The email address that is sending the email.
|
NotifyEmailType |
getMfaEmail()
The multi-factor authentication (MFA) email template used when MFA is
challenged as part of a detected risk.
|
NotifyEmailType |
getNoActionEmail()
The email template used when a detected risk event is allowed.
|
java.lang.String |
getReplyTo()
The destination to which the receiver of an email should reply to.
|
java.lang.String |
getSourceArn()
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy.
|
int |
hashCode() |
void |
setBlockEmail(NotifyEmailType blockEmail)
Email template used when a detected risk event is blocked.
|
void |
setFrom(java.lang.String from)
The email address that is sending the email.
|
void |
setMfaEmail(NotifyEmailType mfaEmail)
The multi-factor authentication (MFA) email template used when MFA is
challenged as part of a detected risk.
|
void |
setNoActionEmail(NotifyEmailType noActionEmail)
The email template used when a detected risk event is allowed.
|
void |
setReplyTo(java.lang.String replyTo)
The destination to which the receiver of an email should reply to.
|
void |
setSourceArn(java.lang.String sourceArn)
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NotifyConfigurationType |
withBlockEmail(NotifyEmailType blockEmail)
Email template used when a detected risk event is blocked.
|
NotifyConfigurationType |
withFrom(java.lang.String from)
The email address that is sending the email.
|
NotifyConfigurationType |
withMfaEmail(NotifyEmailType mfaEmail)
The multi-factor authentication (MFA) email template used when MFA is
challenged as part of a detected risk.
|
NotifyConfigurationType |
withNoActionEmail(NotifyEmailType noActionEmail)
The email template used when a detected risk event is allowed.
|
NotifyConfigurationType |
withReplyTo(java.lang.String replyTo)
The destination to which the receiver of an email should reply to.
|
NotifyConfigurationType |
withSourceArn(java.lang.String sourceArn)
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy.
|
public java.lang.String getFrom()
The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
Constraints:
Length: 0 - 131072
The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
public void setFrom(java.lang.String from)
The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
Constraints:
Length: 0 - 131072
from - The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
public NotifyConfigurationType withFrom(java.lang.String from)
The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
from - The email address that is sending the email. The address must be either individually verified with Amazon Simple Email Service, or from a domain that has been verified with Amazon SES.
public java.lang.String getReplyTo()
The destination to which the receiver of an email should reply to.
Constraints:
Length: 0 - 131072
The destination to which the receiver of an email should reply to.
public void setReplyTo(java.lang.String replyTo)
The destination to which the receiver of an email should reply to.
Constraints:
Length: 0 - 131072
replyTo - The destination to which the receiver of an email should reply to.
public NotifyConfigurationType withReplyTo(java.lang.String replyTo)
The destination to which the receiver of an email should reply to.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
replyTo - The destination to which the receiver of an email should reply to.
public java.lang.String getSourceArn()
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 From parameter.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
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
From parameter.
public void setSourceArn(java.lang.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 From parameter.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
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 From parameter.
public NotifyConfigurationType withSourceArn(java.lang.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 From parameter.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
Pattern:
arn:[\w+=/,.@-]+:[\w+=/,.@-]+:([\w+=/,.@-]*)?:[0-9]+:[\w+=
/,.@-]+(:[\w+=/,.@-]+)?(:[\w+=/,.@-]+)?
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 From parameter.
public NotifyEmailType getBlockEmail()
Email template used when a detected risk event is blocked.
Email template used when a detected risk event is blocked.
public void setBlockEmail(NotifyEmailType blockEmail)
Email template used when a detected risk event is blocked.
blockEmail - Email template used when a detected risk event is blocked.
public NotifyConfigurationType withBlockEmail(NotifyEmailType blockEmail)
Email template used when a detected risk event is blocked.
Returns a reference to this object so that method calls can be chained together.
blockEmail - Email template used when a detected risk event is blocked.
public NotifyEmailType getNoActionEmail()
The email template used when a detected risk event is allowed.
The email template used when a detected risk event is allowed.
public void setNoActionEmail(NotifyEmailType noActionEmail)
The email template used when a detected risk event is allowed.
noActionEmail - The email template used when a detected risk event is allowed.
public NotifyConfigurationType withNoActionEmail(NotifyEmailType noActionEmail)
The email template used when a detected risk event is allowed.
Returns a reference to this object so that method calls can be chained together.
noActionEmail - The email template used when a detected risk event is allowed.
public NotifyEmailType getMfaEmail()
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
public void setMfaEmail(NotifyEmailType mfaEmail)
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
mfaEmail - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
public NotifyConfigurationType withMfaEmail(NotifyEmailType mfaEmail)
The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
Returns a reference to this object so that method calls can be chained together.
mfaEmail - The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected risk.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object