Interface SetIdentityMailFromDomainRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<SetIdentityMailFromDomainRequest.Builder,SetIdentityMailFromDomainRequest>,SdkBuilder<SetIdentityMailFromDomainRequest.Builder,SetIdentityMailFromDomainRequest>,SdkPojo,SdkRequest.Builder,SesRequest.Builder
- Enclosing class:
- SetIdentityMailFromDomainRequest
public static interface SetIdentityMailFromDomainRequest.Builder extends SesRequest.Builder, SdkPojo, CopyableBuilder<SetIdentityMailFromDomainRequest.Builder,SetIdentityMailFromDomainRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SetIdentityMailFromDomainRequest.BuilderbehaviorOnMXFailure(String behaviorOnMXFailure)The action for Amazon SES to take if it cannot successfully read the required MX record when you send an email.SetIdentityMailFromDomainRequest.BuilderbehaviorOnMXFailure(BehaviorOnMXFailure behaviorOnMXFailure)The action for Amazon SES to take if it cannot successfully read the required MX record when you send an email.SetIdentityMailFromDomainRequest.Builderidentity(String identity)The verified identity.SetIdentityMailFromDomainRequest.BuildermailFromDomain(String mailFromDomain)The custom MAIL FROM domain for the verified identity to use.SetIdentityMailFromDomainRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)SetIdentityMailFromDomainRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.ses.model.SesRequest.Builder
build
-
-
-
-
Method Detail
-
identity
SetIdentityMailFromDomainRequest.Builder identity(String 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
SetIdentityMailFromDomainRequest.Builder mailFromDomain(String 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.- 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 ofnulldisables the custom MAIL FROM setting for the identity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
behaviorOnMXFailure
SetIdentityMailFromDomainRequest.Builder behaviorOnMXFailure(String 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 chooseUseDefaultValue, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BehaviorOnMXFailure,BehaviorOnMXFailure
-
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 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 chooseUseDefaultValue, 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BehaviorOnMXFailure,BehaviorOnMXFailure
-
overrideConfiguration
SetIdentityMailFromDomainRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SetIdentityMailFromDomainRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-