@Stability(value=Stable) public static final class CfnIdentity.MailFromAttributesProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnIdentity.MailFromAttributesProperty>
CfnIdentity.MailFromAttributesProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnIdentity.MailFromAttributesProperty.Builder |
behaviorOnMxFailure(String behaviorOnMxFailure)
Sets the value of
CfnIdentity.MailFromAttributesProperty.getBehaviorOnMxFailure() |
CfnIdentity.MailFromAttributesProperty |
build()
Builds the configured instance.
|
CfnIdentity.MailFromAttributesProperty.Builder |
mailFromDomain(String mailFromDomain)
Sets the value of
CfnIdentity.MailFromAttributesProperty.getMailFromDomain() |
@Stability(value=Stable) public CfnIdentity.MailFromAttributesProperty.Builder behaviorOnMxFailure(String behaviorOnMxFailure)
CfnIdentity.MailFromAttributesProperty.getBehaviorOnMxFailure()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.
this@Stability(value=Stable) public CfnIdentity.MailFromAttributesProperty.Builder mailFromDomain(String mailFromDomain)
CfnIdentity.MailFromAttributesProperty.getMailFromDomain()mailFromDomain - The name of a domain that an email identity uses as a custom MAIL FROM domain.this@Stability(value=Stable) public CfnIdentity.MailFromAttributesProperty build()
build in interface software.amazon.jsii.Builder<CfnIdentity.MailFromAttributesProperty>CfnIdentity.MailFromAttributesPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.