@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutEmailIdentityMailFromAttributesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A request to configure the custom MAIL FROM domain for a verified identity.
NOOP
Constructor and Description |
---|
PutEmailIdentityMailFromAttributesRequest() |
Modifier and Type | Method and Description |
---|---|
PutEmailIdentityMailFromAttributesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBehaviorOnMxFailure()
The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email.
|
String |
getEmailIdentity()
The verified email identity that you want to set up the custom MAIL FROM domain for.
|
String |
getMailFromDomain()
The custom MAIL FROM domain that you want the verified identity to use.
|
int |
hashCode() |
void |
setBehaviorOnMxFailure(String behaviorOnMxFailure)
The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email.
|
void |
setEmailIdentity(String emailIdentity)
The verified email identity that you want to set up the custom MAIL FROM domain for.
|
void |
setMailFromDomain(String mailFromDomain)
The custom MAIL FROM domain that you want the verified identity to use.
|
String |
toString()
Returns a string representation of this object.
|
PutEmailIdentityMailFromAttributesRequest |
withBehaviorOnMxFailure(BehaviorOnMxFailure behaviorOnMxFailure)
The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email.
|
PutEmailIdentityMailFromAttributesRequest |
withBehaviorOnMxFailure(String behaviorOnMxFailure)
The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email.
|
PutEmailIdentityMailFromAttributesRequest |
withEmailIdentity(String emailIdentity)
The verified email identity that you want to set up the custom MAIL FROM domain for.
|
PutEmailIdentityMailFromAttributesRequest |
withMailFromDomain(String mailFromDomain)
The custom MAIL FROM domain that you want the verified identity to use.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public PutEmailIdentityMailFromAttributesRequest()
public void setEmailIdentity(String emailIdentity)
The verified email identity that you want to set up the custom MAIL FROM domain for.
emailIdentity
- The verified email identity that you want to set up the custom MAIL FROM domain for.public String getEmailIdentity()
The verified email identity that you want to set up the custom MAIL FROM domain for.
public PutEmailIdentityMailFromAttributesRequest withEmailIdentity(String emailIdentity)
The verified email identity that you want to set up the custom MAIL FROM domain for.
emailIdentity
- The verified email identity that you want to set up the custom MAIL FROM domain for.public void setMailFromDomain(String mailFromDomain)
The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria:
It has to be a subdomain of the verified identity.
It can't be used to receive email.
It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.
mailFromDomain
- The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the
following criteria:
It has to be a subdomain of the verified identity.
It can't be used to receive email.
It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.
public String getMailFromDomain()
The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria:
It has to be a subdomain of the verified identity.
It can't be used to receive email.
It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.
It has to be a subdomain of the verified identity.
It can't be used to receive email.
It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.
public PutEmailIdentityMailFromAttributesRequest withMailFromDomain(String mailFromDomain)
The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria:
It has to be a subdomain of the verified identity.
It can't be used to receive email.
It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.
mailFromDomain
- The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the
following criteria:
It has to be a subdomain of the verified identity.
It can't be used to receive email.
It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.
public void setBehaviorOnMxFailure(String behaviorOnMxFailure)
The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email.
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 you want Amazon Pinpoint to take if it can't read the required MX record when you send an
email. 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 you want Amazon Pinpoint to take if it can't read the required MX record when you send an email.
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 PutEmailIdentityMailFromAttributesRequest withBehaviorOnMxFailure(String behaviorOnMxFailure)
The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email.
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 you want Amazon Pinpoint to take if it can't read the required MX record when you send an
email. 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 PutEmailIdentityMailFromAttributesRequest withBehaviorOnMxFailure(BehaviorOnMxFailure behaviorOnMxFailure)
The action that you want Amazon Pinpoint to take if it can't read the required MX record when you send an email.
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 you want Amazon Pinpoint to take if it can't read the required MX record when you send an
email. 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 PutEmailIdentityMailFromAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.