public class NotifyConfigurationType extends Object implements Serializable
The notify configuration type.
| Constructor and Description |
|---|
NotifyConfigurationType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
NotifyEmailType |
getBlockEmail()
Email template used when a detected risk event is blocked.
|
String |
getFrom()
The email address that is sending the email.
|
NotifyEmailType |
getMfaEmail()
The 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.
|
String |
getReplyTo()
The destination to which the receiver of an email should reply to.
|
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(String from)
The email address that is sending the email.
|
void |
setMfaEmail(NotifyEmailType mfaEmail)
The 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(String replyTo)
The destination to which the receiver of an email should reply to.
|
void |
setSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy.
|
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(String from)
The email address that is sending the email.
|
NotifyConfigurationType |
withMfaEmail(NotifyEmailType mfaEmail)
The 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(String replyTo)
The destination to which the receiver of an email should reply to.
|
NotifyConfigurationType |
withSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy.
|
public String getFrom()
The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
public void setFrom(String from)
The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
from - The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
public NotifyConfigurationType withFrom(String from)
The email address that is sending the email. It must be either individually verified with Amazon SES, 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.
from - The email address that is sending the email. It must be either individually verified with Amazon SES, or from a domain that has been verified with Amazon SES.
public String getReplyTo()
The destination to which the receiver of an email should reply to.
The destination to which the receiver of an email should reply to.
public void setReplyTo(String replyTo)
The destination to which the receiver of an email should reply to.
replyTo - The destination to which the receiver of an email should reply to.
public NotifyConfigurationType withReplyTo(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.
replyTo - The destination to which the receiver of an email should reply to.
public String getSourceArn()
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy. It 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. It permits Amazon Cognito
to send for the email address specified in the From
parameter.
public void setSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy. It 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. It permits
Amazon Cognito to send for the email address specified in the
From parameter.
public NotifyConfigurationType withSourceArn(String sourceArn)
The Amazon Resource Name (ARN) of the identity that is associated with
the sending authorization policy. It 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. It 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 MFA email template used when MFA is challenged as part of a detected risk.
The MFA email template used when MFA is challenged as part of a detected risk.
public void setMfaEmail(NotifyEmailType mfaEmail)
The MFA email template used when MFA is challenged as part of a detected risk.
mfaEmail - The MFA email template used when MFA is challenged as part of a detected risk.
public NotifyConfigurationType withMfaEmail(NotifyEmailType mfaEmail)
The 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 MFA email template used when MFA is challenged as part of a detected risk.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.