Interface SetIdentityMailFromDomainRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<SetIdentityMailFromDomainRequest.Builder,,- SetIdentityMailFromDomainRequest> - SdkBuilder<SetIdentityMailFromDomainRequest.Builder,,- SetIdentityMailFromDomainRequest> - SdkPojo,- SdkRequest.Builder,- SesRequest.Builder
- Enclosing class:
- SetIdentityMailFromDomainRequest
- 
Method SummaryModifier and TypeMethodDescriptionbehaviorOnMXFailure(String behaviorOnMXFailure) The action for Amazon SES to take if it cannot successfully read the required MX record when you send an email.behaviorOnMXFailure(BehaviorOnMXFailure behaviorOnMXFailure) The action for Amazon SES to take if it cannot successfully read the required MX record when you send an email.The verified identity.mailFromDomain(String mailFromDomain) The custom MAIL FROM domain for the verified identity to use.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ses.model.SesRequest.Builderbuild
- 
Method Details- 
identityThe verified identity. - Parameters:
- identity- The verified identity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
mailFromDomainThe custom MAIL FROM domain for the verified identity to use. The MAIL FROM domain must 1) be a subdomain of the verified identity, 2) not be used in a "From" address if the MAIL FROM domain is the destination of email feedback forwarding (for more information, see the Amazon SES Developer Guide), and 3) not be used to receive emails. A value of nulldisables the custom MAIL FROM setting for the identity.- Parameters:
- mailFromDomain- The custom MAIL FROM domain for the verified identity to use. The MAIL FROM domain must 1) be a subdomain of the verified identity, 2) not be used in a "From" address if the MAIL FROM domain is the destination of email feedback forwarding (for more information, see the Amazon SES Developer Guide), and 3) not be used to receive emails. A value of- nulldisables the custom MAIL FROM setting for the identity.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
behaviorOnMXFailureThe action for Amazon SES to take if it cannot successfully read the required MX record when you send an email. If you choose UseDefaultValue, Amazon SES uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you chooseRejectMessage, Amazon SES returns aMailFromDomainNotVerifiederror and not send the email.The action specified in BehaviorOnMXFailureis taken when the custom MAIL FROM domain setup is in thePending,Failed, andTemporaryFailurestates.- Parameters:
- behaviorOnMXFailure- The action for Amazon SES to take if it cannot successfully read the required MX record when you send an email. If you choose- UseDefaultValue, Amazon SES uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you choose- RejectMessage, Amazon SES returns a- MailFromDomainNotVerifiederror and not send the email.- The action specified in - BehaviorOnMXFailureis taken when the custom MAIL FROM domain setup is in the- Pending,- Failed, and- TemporaryFailurestates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
behaviorOnMXFailureSetIdentityMailFromDomainRequest.Builder behaviorOnMXFailure(BehaviorOnMXFailure behaviorOnMXFailure) The action for Amazon SES to take if it cannot successfully read the required MX record when you send an email. If you choose UseDefaultValue, Amazon SES uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you chooseRejectMessage, Amazon SES returns aMailFromDomainNotVerifiederror and not send the email.The action specified in BehaviorOnMXFailureis taken when the custom MAIL FROM domain setup is in thePending,Failed, andTemporaryFailurestates.- Parameters:
- behaviorOnMXFailure- The action for Amazon SES to take if it cannot successfully read the required MX record when you send an email. If you choose- UseDefaultValue, Amazon SES uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you choose- RejectMessage, Amazon SES returns a- MailFromDomainNotVerifiederror and not send the email.- The action specified in - BehaviorOnMXFailureis taken when the custom MAIL FROM domain setup is in the- Pending,- Failed, and- TemporaryFailurestates.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationSetIdentityMailFromDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationSetIdentityMailFromDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-