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 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

      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 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 of null 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

      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 choose RejectMessage, Amazon SES returns a MailFromDomainNotVerified error and not send the email.

      The action specified in BehaviorOnMXFailure is taken when the custom MAIL FROM domain setup is in the Pending, Failed, and TemporaryFailure 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 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 MailFromDomainNotVerified error and not send the email.

      The action specified in BehaviorOnMXFailure is taken when the custom MAIL FROM domain setup is in the Pending, Failed, and TemporaryFailure 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 choose RejectMessage, Amazon SES returns a MailFromDomainNotVerified error and not send the email.

      The action specified in BehaviorOnMXFailure is taken when the custom MAIL FROM domain setup is in the Pending, Failed, and TemporaryFailure 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 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 MailFromDomainNotVerified error and not send the email.

      The action specified in BehaviorOnMXFailure is taken when the custom MAIL FROM domain setup is in the Pending, Failed, and TemporaryFailure 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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.