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 Summary
Modifier 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.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.services.ses.model.SesRequest.Builder
build
-
Method Details
-
identity
The verified identity.
- Parameters:
identity
- The verified identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
null
disables 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 ofnull
disables the custom MAIL FROM setting for the identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 aMailFromDomainNotVerified
error and not send the email.The action specified in
BehaviorOnMXFailure
is taken when the custom MAIL FROM domain setup is in thePending
,Failed
, andTemporaryFailure
states.- 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 chooseUseDefaultValue
, Amazon SES uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you chooseRejectMessage
, Amazon SES returns aMailFromDomainNotVerified
error and not send the email.The action specified in
BehaviorOnMXFailure
is taken when the custom MAIL FROM domain setup is in thePending
,Failed
, andTemporaryFailure
states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
behaviorOnMXFailure
SetIdentityMailFromDomainRequest.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 aMailFromDomainNotVerified
error and not send the email.The action specified in
BehaviorOnMXFailure
is taken when the custom MAIL FROM domain setup is in thePending
,Failed
, andTemporaryFailure
states.- 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 chooseUseDefaultValue
, Amazon SES uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you chooseRejectMessage
, Amazon SES returns aMailFromDomainNotVerified
error and not send the email.The action specified in
BehaviorOnMXFailure
is taken when the custom MAIL FROM domain setup is in thePending
,Failed
, andTemporaryFailure
states.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SetIdentityMailFromDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SetIdentityMailFromDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-