@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 to take if the required MX record isn't found when you send an email.
|
String |
getEmailIdentity()
The verified email identity.
|
String |
getMailFromDomain()
The custom MAIL FROM domain that you want the verified identity to use.
|
int |
hashCode() |
void |
setBehaviorOnMxFailure(String behaviorOnMxFailure)
The action to take if the required MX record isn't found when you send an email.
|
void |
setEmailIdentity(String emailIdentity)
The verified email identity.
|
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 to take if the required MX record isn't found when you send an email.
|
PutEmailIdentityMailFromAttributesRequest |
withBehaviorOnMxFailure(String behaviorOnMxFailure)
The action to take if the required MX record isn't found when you send an email.
|
PutEmailIdentityMailFromAttributesRequest |
withEmailIdentity(String emailIdentity)
The verified email identity.
|
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.
emailIdentity
- The verified email identity.public String getEmailIdentity()
The verified email identity.
public PutEmailIdentityMailFromAttributesRequest withEmailIdentity(String emailIdentity)
The verified email identity.
emailIdentity
- The verified email identity.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 to take if the required MX record isn't found when you send an email. When you set this value to
UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain. When you set
this value to RejectMessage
, 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 isn't found when you send an email. When you set this value
to UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain. When
you set this value to RejectMessage
, 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
public String getBehaviorOnMxFailure()
The action to take if the required MX record isn't found when you send an email. When you set this value to
UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain. When you set
this value to RejectMessage
, 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.
UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain.
When you set this value to RejectMessage
, 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
public PutEmailIdentityMailFromAttributesRequest withBehaviorOnMxFailure(String behaviorOnMxFailure)
The action to take if the required MX record isn't found when you send an email. When you set this value to
UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain. When you set
this value to RejectMessage
, 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 isn't found when you send an email. When you set this value
to UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain. When
you set this value to RejectMessage
, 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
public PutEmailIdentityMailFromAttributesRequest withBehaviorOnMxFailure(BehaviorOnMxFailure behaviorOnMxFailure)
The action to take if the required MX record isn't found when you send an email. When you set this value to
UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain. When you set
this value to RejectMessage
, 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 isn't found when you send an email. When you set this value
to UseDefaultValue
, the mail is sent using amazonses.com as the MAIL FROM domain. When
you set this value to RejectMessage
, 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
public String toString()
toString
in class Object
Object.toString()
public PutEmailIdentityMailFromAttributesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()