public class IdentityMailFromDomainAttributes
extends java.lang.Object
implements java.io.Serializable
Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).
Constructor and Description |
---|
IdentityMailFromDomainAttributes() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getBehaviorOnMXFailure()
The action that Amazon SES takes if it cannot successfully read the
required MX record when you send an email.
|
java.lang.String |
getMailFromDomain()
The custom MAIL FROM domain that the identity is configured to use.
|
java.lang.String |
getMailFromDomainStatus()
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(java.lang.String behaviorOnMXFailure)
The action that Amazon SES takes if it cannot successfully read the
required MX record when you send an email.
|
void |
setMailFromDomain(java.lang.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(java.lang.String mailFromDomainStatus)
The state that indicates whether Amazon SES has successfully read the MX
record required for custom MAIL FROM domain setup.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
IdentityMailFromDomainAttributes |
withBehaviorOnMXFailure(BehaviorOnMXFailure behaviorOnMXFailure)
The action that Amazon SES takes if it cannot successfully read the
required MX record when you send an email.
|
IdentityMailFromDomainAttributes |
withBehaviorOnMXFailure(java.lang.String behaviorOnMXFailure)
The action that Amazon SES takes if it cannot successfully read the
required MX record when you send an email.
|
IdentityMailFromDomainAttributes |
withMailFromDomain(java.lang.String mailFromDomain)
The custom MAIL FROM domain that the identity is configured to use.
|
IdentityMailFromDomainAttributes |
withMailFromDomainStatus(CustomMailFromStatus mailFromDomainStatus)
The state that indicates whether Amazon SES has successfully read the MX
record required for custom MAIL FROM domain setup.
|
IdentityMailFromDomainAttributes |
withMailFromDomainStatus(java.lang.String mailFromDomainStatus)
The state that indicates whether Amazon SES has successfully read the MX
record required for custom MAIL FROM domain setup.
|
public java.lang.String getMailFromDomain()
The custom MAIL FROM domain that the identity is configured to use.
The custom MAIL FROM domain that the identity is configured to use.
public void setMailFromDomain(java.lang.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.
public IdentityMailFromDomainAttributes withMailFromDomain(java.lang.String mailFromDomain)
The custom MAIL FROM domain that the identity is configured to use.
Returns a reference to this object so that method calls can be chained together.
mailFromDomain
- The custom MAIL FROM domain that the identity is configured to use.
public java.lang.String 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 by
BehaviorOnMXFailure
.
Constraints:
Allowed Values: Pending, Success, Failed, TemporaryFailure
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
public void setMailFromDomainStatus(java.lang.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
.
Constraints:
Allowed Values: Pending, Success, Failed, TemporaryFailure
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
public IdentityMailFromDomainAttributes withMailFromDomainStatus(java.lang.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
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Success, Failed, TemporaryFailure
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
public void setMailFromDomainStatus(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
.
Constraints:
Allowed Values: Pending, Success, Failed, TemporaryFailure
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
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 by
BehaviorOnMXFailure
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Pending, Success, Failed, TemporaryFailure
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
public java.lang.String 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 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
.
Constraints:
Allowed Values: UseDefaultValue, RejectMessage
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
public void setBehaviorOnMXFailure(java.lang.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
.
Constraints:
Allowed Values: UseDefaultValue, RejectMessage
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
public IdentityMailFromDomainAttributes withBehaviorOnMXFailure(java.lang.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
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UseDefaultValue, RejectMessage
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
public void setBehaviorOnMXFailure(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
.
Constraints:
Allowed Values: UseDefaultValue, RejectMessage
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
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 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
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UseDefaultValue, RejectMessage
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
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.