Class IdentityMailFromDomainAttributes
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email.The custom MAIL FROM domain that the identity is configured to use.The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup.int
hashCode()
void
setBehaviorOnMXFailure
(BehaviorOnMXFailure behaviorOnMXFailure) The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email.void
setBehaviorOnMXFailure
(String behaviorOnMXFailure) The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email.void
setMailFromDomain
(String mailFromDomain) The custom MAIL FROM domain that the identity is configured to use.void
setMailFromDomainStatus
(CustomMailFromStatus mailFromDomainStatus) The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup.void
setMailFromDomainStatus
(String mailFromDomainStatus) The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup.toString()
Returns a string representation of this object; useful for testing and debugging.withBehaviorOnMXFailure
(BehaviorOnMXFailure behaviorOnMXFailure) The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email.withBehaviorOnMXFailure
(String behaviorOnMXFailure) The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email.withMailFromDomain
(String mailFromDomain) The custom MAIL FROM domain that the identity is configured to use.withMailFromDomainStatus
(CustomMailFromStatus mailFromDomainStatus) The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup.withMailFromDomainStatus
(String mailFromDomainStatus) The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup.
-
Constructor Details
-
IdentityMailFromDomainAttributes
public IdentityMailFromDomainAttributes()
-
-
Method Details
-
setMailFromDomain
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.
-
getMailFromDomain
The custom MAIL FROM domain that the identity is configured to use.
- Returns:
- The custom MAIL FROM domain that the identity is configured to use.
-
withMailFromDomain
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.
-
setMailFromDomainStatus
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
.- See Also:
-
getMailFromDomainStatus
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
.- Returns:
- 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
. - See Also:
-
withMailFromDomainStatus
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:
-
setMailFromDomainStatus
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
.- See Also:
-
withMailFromDomainStatus
public IdentityMailFromDomainAttributes withMailFromDomainStatus(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:
-
setBehaviorOnMXFailure
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
.- See Also:
-
getBehaviorOnMXFailure
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
.- Returns:
- 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
. - See Also:
-
withBehaviorOnMXFailure
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:
-
setBehaviorOnMXFailure
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
.- See Also:
-
withBehaviorOnMXFailure
public IdentityMailFromDomainAttributes withBehaviorOnMXFailure(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:
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-