@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NotifyConfigurationType extends Object implements Serializable, Cloneable, StructuredPojo
The notify configuration type.
Constructor and Description |
---|
NotifyConfigurationType() |
Modifier and Type | Method and Description |
---|---|
NotifyConfigurationType |
clone() |
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 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.
|
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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 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(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.
|
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 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(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 void setFrom(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.
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 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.
public NotifyConfigurationType withFrom(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.
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 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 String getReplyTo()
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.
replyTo
- The destination to which the receiver of an email should reply to.public void setSourceArn(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.
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 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.
From
parameter.public NotifyConfigurationType withSourceArn(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.
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 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 NotifyEmailType getBlockEmail()
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.
blockEmail
- Email template used when a detected risk event is blocked.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 NotifyEmailType getNoActionEmail()
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.
noActionEmail
- The email template used when a detected risk event is allowed.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 NotifyEmailType getMfaEmail()
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.
mfaEmail
- The multi-factor authentication (MFA) email template used when MFA is challenged as part of a detected
risk.public String toString()
toString
in class Object
Object.toString()
public NotifyConfigurationType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.