@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MailFromAttributes extends Object implements Serializable, Cloneable, StructuredPojo
A list of attributes that are associated with a MAIL FROM domain.
| Constructor and Description |
|---|
MailFromAttributes() |
| Modifier and Type | Method and Description |
|---|---|
MailFromAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getBehaviorOnMxFailure()
The action to take if the required MX record can't be found when you send an email.
|
String |
getMailFromDomain()
The name of a domain that an email identity uses as a custom MAIL FROM domain.
|
String |
getMailFromDomainStatus()
The status of the MAIL FROM domain.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBehaviorOnMxFailure(String behaviorOnMxFailure)
The action to take if the required MX record can't be found when you send an email.
|
void |
setMailFromDomain(String mailFromDomain)
The name of a domain that an email identity uses as a custom MAIL FROM domain.
|
void |
setMailFromDomainStatus(String mailFromDomainStatus)
The status of the MAIL FROM domain.
|
String |
toString()
Returns a string representation of this object.
|
MailFromAttributes |
withBehaviorOnMxFailure(BehaviorOnMxFailure behaviorOnMxFailure)
The action to take if the required MX record can't be found when you send an email.
|
MailFromAttributes |
withBehaviorOnMxFailure(String behaviorOnMxFailure)
The action to take if the required MX record can't be found when you send an email.
|
MailFromAttributes |
withMailFromDomain(String mailFromDomain)
The name of a domain that an email identity uses as a custom MAIL FROM domain.
|
MailFromAttributes |
withMailFromDomainStatus(MailFromDomainStatus mailFromDomainStatus)
The status of the MAIL FROM domain.
|
MailFromAttributes |
withMailFromDomainStatus(String mailFromDomainStatus)
The status of the MAIL FROM domain.
|
public void setMailFromDomain(String mailFromDomain)
The name of a domain that an email identity uses as a custom MAIL FROM domain.
mailFromDomain - The name of a domain that an email identity uses as a custom MAIL FROM domain.public String getMailFromDomain()
The name of a domain that an email identity uses as a custom MAIL FROM domain.
public MailFromAttributes withMailFromDomain(String mailFromDomain)
The name of a domain that an email identity uses as a custom MAIL FROM domain.
mailFromDomain - The name of a domain that an email identity uses as a custom MAIL FROM domain.public void setMailFromDomainStatus(String mailFromDomainStatus)
The status of the MAIL FROM domain. This status can have the following values:
PENDING – Amazon SES hasn't started searching for the MX record yet.
SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED – Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the
status of the MAIL FROM domain.
mailFromDomainStatus - The status of the MAIL FROM domain. This status can have the following values:
PENDING – Amazon SES hasn't started searching for the MX record yet.
SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED – Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining
the status of the MAIL FROM domain.
MailFromDomainStatuspublic String getMailFromDomainStatus()
The status of the MAIL FROM domain. This status can have the following values:
PENDING – Amazon SES hasn't started searching for the MX record yet.
SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED – Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the
status of the MAIL FROM domain.
PENDING – Amazon SES hasn't started searching for the MX record yet.
SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED – Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining
the status of the MAIL FROM domain.
MailFromDomainStatuspublic MailFromAttributes withMailFromDomainStatus(String mailFromDomainStatus)
The status of the MAIL FROM domain. This status can have the following values:
PENDING – Amazon SES hasn't started searching for the MX record yet.
SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED – Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the
status of the MAIL FROM domain.
mailFromDomainStatus - The status of the MAIL FROM domain. This status can have the following values:
PENDING – Amazon SES hasn't started searching for the MX record yet.
SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED – Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining
the status of the MAIL FROM domain.
MailFromDomainStatuspublic MailFromAttributes withMailFromDomainStatus(MailFromDomainStatus mailFromDomainStatus)
The status of the MAIL FROM domain. This status can have the following values:
PENDING – Amazon SES hasn't started searching for the MX record yet.
SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED – Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining the
status of the MAIL FROM domain.
mailFromDomainStatus - The status of the MAIL FROM domain. This status can have the following values:
PENDING – Amazon SES hasn't started searching for the MX record yet.
SUCCESS – Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED – Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE – A temporary issue occurred, which prevented Amazon SES from determining
the status of the MAIL FROM domain.
MailFromDomainStatuspublic void setBehaviorOnMxFailure(String behaviorOnMxFailure)
The action to take if the required MX record can't be found when you send an email. When you set this value to
USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM domain. When you set
this value to REJECT_MESSAGE, the Amazon SES API v2 returns a MailFromDomainNotVerified
error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
behaviorOnMxFailure - The action to take if the required MX record can't be found when you send an email. When you set this
value to USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM
domain. When you set this value to REJECT_MESSAGE, the Amazon SES API v2 returns a
MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
BehaviorOnMxFailurepublic String getBehaviorOnMxFailure()
The action to take if the required MX record can't be found when you send an email. When you set this value to
USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM domain. When you set
this value to REJECT_MESSAGE, the Amazon SES API v2 returns a MailFromDomainNotVerified
error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM
domain. When you set this value to REJECT_MESSAGE, the Amazon SES API v2 returns a
MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
BehaviorOnMxFailurepublic MailFromAttributes withBehaviorOnMxFailure(String behaviorOnMxFailure)
The action to take if the required MX record can't be found when you send an email. When you set this value to
USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM domain. When you set
this value to REJECT_MESSAGE, the Amazon SES API v2 returns a MailFromDomainNotVerified
error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
behaviorOnMxFailure - The action to take if the required MX record can't be found when you send an email. When you set this
value to USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM
domain. When you set this value to REJECT_MESSAGE, the Amazon SES API v2 returns a
MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
BehaviorOnMxFailurepublic MailFromAttributes withBehaviorOnMxFailure(BehaviorOnMxFailure behaviorOnMxFailure)
The action to take if the required MX record can't be found when you send an email. When you set this value to
USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM domain. When you set
this value to REJECT_MESSAGE, the Amazon SES API v2 returns a MailFromDomainNotVerified
error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
behaviorOnMxFailure - The action to take if the required MX record can't be found when you send an email. When you set this
value to USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM
domain. When you set this value to REJECT_MESSAGE, the Amazon SES API v2 returns a
MailFromDomainNotVerified error, and doesn't attempt to deliver the email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the Pending,
Failed, and TemporaryFailure states.
BehaviorOnMxFailurepublic String toString()
toString in class ObjectObject.toString()public MailFromAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.