Interface GetMailDomainResponse.Builder

  • Method Details

    • records

      A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.

      Parameters:
      records - A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • records

      A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.

      Parameters:
      records - A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • records

      A list of the DNS records that WorkMail recommends adding in your DNS provider for the best user experience. The records configure your domain with DMARC, SPF, DKIM, and direct incoming email traffic to SES. See admin guide for more details.

      This is a convenience method that creates an instance of the DnsRecord.Builder avoiding the need to create one manually via DnsRecord.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to records(List<DnsRecord>).

      Parameters:
      records - a consumer that will call methods on DnsRecord.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • isTestDomain

      GetMailDomainResponse.Builder isTestDomain(Boolean isTestDomain)

      Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.

      Parameters:
      isTestDomain - Specifies whether the domain is a test domain provided by WorkMail, or a custom domain.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isDefault

      GetMailDomainResponse.Builder isDefault(Boolean isDefault)

      Specifies whether the domain is the default domain for your organization.

      Parameters:
      isDefault - Specifies whether the domain is the default domain for your organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ownershipVerificationStatus

      GetMailDomainResponse.Builder ownershipVerificationStatus(String ownershipVerificationStatus)

      Indicates the status of the domain ownership verification.

      Parameters:
      ownershipVerificationStatus - Indicates the status of the domain ownership verification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ownershipVerificationStatus

      GetMailDomainResponse.Builder ownershipVerificationStatus(DnsRecordVerificationStatus ownershipVerificationStatus)

      Indicates the status of the domain ownership verification.

      Parameters:
      ownershipVerificationStatus - Indicates the status of the domain ownership verification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dkimVerificationStatus

      GetMailDomainResponse.Builder dkimVerificationStatus(String dkimVerificationStatus)

      Indicates the status of a DKIM verification.

      Parameters:
      dkimVerificationStatus - Indicates the status of a DKIM verification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dkimVerificationStatus

      GetMailDomainResponse.Builder dkimVerificationStatus(DnsRecordVerificationStatus dkimVerificationStatus)

      Indicates the status of a DKIM verification.

      Parameters:
      dkimVerificationStatus - Indicates the status of a DKIM verification.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: