public static interface IdentityMailFromDomainAttributes.Builder extends CopyableBuilder<IdentityMailFromDomainAttributes.Builder,IdentityMailFromDomainAttributes>
Modifier and Type | Method and Description |
---|---|
IdentityMailFromDomainAttributes.Builder |
behaviorOnMXFailure(BehaviorOnMXFailure behaviorOnMXFailure)
The action that Amazon SES takes if it cannot successfully read the required MX record when you send an
email.
|
IdentityMailFromDomainAttributes.Builder |
behaviorOnMXFailure(String behaviorOnMXFailure)
The action that Amazon SES takes if it cannot successfully read the required MX record when you send an
email.
|
IdentityMailFromDomainAttributes.Builder |
mailFromDomain(String mailFromDomain)
The custom MAIL FROM domain that the identity is configured to use.
|
IdentityMailFromDomainAttributes.Builder |
mailFromDomainStatus(CustomMailFromStatus mailFromDomainStatus)
The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM
domain setup.
|
IdentityMailFromDomainAttributes.Builder |
mailFromDomainStatus(String mailFromDomainStatus)
The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM
domain setup.
|
copy
applyMutation, build
IdentityMailFromDomainAttributes.Builder mailFromDomain(String mailFromDomain)
The custom MAIL FROM domain that the identity is configured to use.
mailFromDomain
- The custom MAIL FROM domain that the identity is configured to use.IdentityMailFromDomainAttributes.Builder mailFromDomainStatus(String mailFromDomainStatus)
The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM
domain setup. If the state is Success
, Amazon SES uses the specified custom MAIL FROM domain
when the verified identity sends an email. All other states indicate that Amazon SES takes the action
described by BehaviorOnMXFailure
.
mailFromDomainStatus
- The state that indicates whether Amazon SES has successfully read the MX record required for custom
MAIL FROM domain setup. If the state is Success
, Amazon SES uses the specified custom
MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES
takes the action described by BehaviorOnMXFailure
.CustomMailFromStatus
,
CustomMailFromStatus
IdentityMailFromDomainAttributes.Builder mailFromDomainStatus(CustomMailFromStatus mailFromDomainStatus)
The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM
domain setup. If the state is Success
, Amazon SES uses the specified custom MAIL FROM domain
when the verified identity sends an email. All other states indicate that Amazon SES takes the action
described by BehaviorOnMXFailure
.
mailFromDomainStatus
- The state that indicates whether Amazon SES has successfully read the MX record required for custom
MAIL FROM domain setup. If the state is Success
, Amazon SES uses the specified custom
MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES
takes the action described by BehaviorOnMXFailure
.CustomMailFromStatus
,
CustomMailFromStatus
IdentityMailFromDomainAttributes.Builder behaviorOnMXFailure(String behaviorOnMXFailure)
The action that Amazon SES takes if it cannot successfully read the required MX record when you send an
email. A value of UseDefaultValue
indicates that if Amazon SES cannot read the required MX
record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of
RejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES
returns a MailFromDomainNotVerified
error and does not send the email.
The custom MAIL FROM setup states that result in this behavior are Pending
, Failed
,
and TemporaryFailure
.
behaviorOnMXFailure
- The action that Amazon SES takes if it cannot successfully read the required MX record when you send
an email. A value of UseDefaultValue
indicates that if Amazon SES cannot read the
required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of
RejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES
returns a MailFromDomainNotVerified
error and does not send the email.
The custom MAIL FROM setup states that result in this behavior are Pending
,
Failed
, and TemporaryFailure
.
BehaviorOnMXFailure
,
BehaviorOnMXFailure
IdentityMailFromDomainAttributes.Builder behaviorOnMXFailure(BehaviorOnMXFailure behaviorOnMXFailure)
The action that Amazon SES takes if it cannot successfully read the required MX record when you send an
email. A value of UseDefaultValue
indicates that if Amazon SES cannot read the required MX
record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of
RejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES
returns a MailFromDomainNotVerified
error and does not send the email.
The custom MAIL FROM setup states that result in this behavior are Pending
, Failed
,
and TemporaryFailure
.
behaviorOnMXFailure
- The action that Amazon SES takes if it cannot successfully read the required MX record when you send
an email. A value of UseDefaultValue
indicates that if Amazon SES cannot read the
required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of
RejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES
returns a MailFromDomainNotVerified
error and does not send the email.
The custom MAIL FROM setup states that result in this behavior are Pending
,
Failed
, and TemporaryFailure
.
BehaviorOnMXFailure
,
BehaviorOnMXFailure
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.