Interface IdentityMailFromDomainAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IdentityMailFromDomainAttributes.Builder,
,IdentityMailFromDomainAttributes> SdkBuilder<IdentityMailFromDomainAttributes.Builder,
,IdentityMailFromDomainAttributes> SdkPojo
- Enclosing class:
IdentityMailFromDomainAttributes
-
Method Summary
Modifier and TypeMethodDescriptionbehaviorOnMXFailure
(String behaviorOnMXFailure) The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email.behaviorOnMXFailure
(BehaviorOnMXFailure behaviorOnMXFailure) The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email.mailFromDomain
(String mailFromDomain) The custom MAIL FROM domain that the identity is configured to use.mailFromDomainStatus
(String mailFromDomainStatus) The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup.mailFromDomainStatus
(CustomMailFromStatus mailFromDomainStatus) The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
mailFromDomain
The custom MAIL FROM domain that the identity is configured to use.
- Parameters:
mailFromDomain
- The custom MAIL FROM domain that the identity is configured to use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 byBehaviorOnMXFailure
.- Parameters:
mailFromDomainStatus
- The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state isSuccess
, 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 byBehaviorOnMXFailure
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mailFromDomainStatus
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 byBehaviorOnMXFailure
.- Parameters:
mailFromDomainStatus
- The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state isSuccess
, 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 byBehaviorOnMXFailure
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 ofRejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES returns aMailFromDomainNotVerified
error and does not send the email.The custom MAIL FROM setup states that result in this behavior are
Pending
,Failed
, andTemporaryFailure
.- Parameters:
behaviorOnMXFailure
- The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value ofUseDefaultValue
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 ofRejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES returns aMailFromDomainNotVerified
error and does not send the email.The custom MAIL FROM setup states that result in this behavior are
Pending
,Failed
, andTemporaryFailure
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 ofRejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES returns aMailFromDomainNotVerified
error and does not send the email.The custom MAIL FROM setup states that result in this behavior are
Pending
,Failed
, andTemporaryFailure
.- Parameters:
behaviorOnMXFailure
- The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value ofUseDefaultValue
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 ofRejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES returns aMailFromDomainNotVerified
error and does not send the email.The custom MAIL FROM setup states that result in this behavior are
Pending
,Failed
, andTemporaryFailure
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-