@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 that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
|
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 that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
|
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 that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
|
MailFromAttributes |
withBehaviorOnMxFailure(String behaviorOnMxFailure)
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
|
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 Pinpoint hasn't started searching for the MX record yet.
SUCCESS
– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
FAILED
– Amazon Pinpoint can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon Pinpoint 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 Pinpoint hasn't started searching for the MX record yet.
SUCCESS
– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
FAILED
– Amazon Pinpoint can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon Pinpoint from
determining the status of the MAIL FROM domain.
MailFromDomainStatus
public String getMailFromDomainStatus()
The status of the MAIL FROM domain. This status can have the following values:
PENDING
– Amazon Pinpoint hasn't started searching for the MX record yet.
SUCCESS
– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
FAILED
– Amazon Pinpoint can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon Pinpoint from determining the
status of the MAIL FROM domain.
PENDING
– Amazon Pinpoint hasn't started searching for the MX record yet.
SUCCESS
– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
FAILED
– Amazon Pinpoint can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon Pinpoint from
determining the status of the MAIL FROM domain.
MailFromDomainStatus
public MailFromAttributes withMailFromDomainStatus(String mailFromDomainStatus)
The status of the MAIL FROM domain. This status can have the following values:
PENDING
– Amazon Pinpoint hasn't started searching for the MX record yet.
SUCCESS
– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
FAILED
– Amazon Pinpoint can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon Pinpoint 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 Pinpoint hasn't started searching for the MX record yet.
SUCCESS
– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
FAILED
– Amazon Pinpoint can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon Pinpoint from
determining the status of the MAIL FROM domain.
MailFromDomainStatus
public MailFromAttributes withMailFromDomainStatus(MailFromDomainStatus mailFromDomainStatus)
The status of the MAIL FROM domain. This status can have the following values:
PENDING
– Amazon Pinpoint hasn't started searching for the MX record yet.
SUCCESS
– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
FAILED
– Amazon Pinpoint can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon Pinpoint 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 Pinpoint hasn't started searching for the MX record yet.
SUCCESS
– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.
FAILED
– Amazon Pinpoint can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE
– A temporary issue occurred, which prevented Amazon Pinpoint from
determining the status of the MAIL FROM domain.
MailFromDomainStatus
public void setBehaviorOnMxFailure(String behaviorOnMxFailure)
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com as the MAIL
FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint 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 that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM
domain. When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com
as the MAIL FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint 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
public String getBehaviorOnMxFailure()
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com as the MAIL
FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint 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.
UseDefaultValue
, Amazon Pinpoint uses
amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage
,
Amazon Pinpoint 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
public MailFromAttributes withBehaviorOnMxFailure(String behaviorOnMxFailure)
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com as the MAIL
FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint 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 that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM
domain. When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com
as the MAIL FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint 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
public MailFromAttributes withBehaviorOnMxFailure(BehaviorOnMxFailure behaviorOnMxFailure)
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain.
When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com as the MAIL
FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint 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 that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM
domain. When you set this value to UseDefaultValue
, Amazon Pinpoint uses amazonses.com
as the MAIL FROM domain. When you set this value to RejectMessage
, Amazon Pinpoint 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
public String toString()
toString
in class Object
Object.toString()
public MailFromAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.