Interface GetMailDomainResponse.Builder

    • Method Detail

      • records

        GetMailDomainResponse.Builder records​(Collection<DnsRecord> 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

        GetMailDomainResponse.Builder records​(DnsRecord... 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

        GetMailDomainResponse.Builder records​(Consumer<DnsRecord.Builder>... 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).

        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:
        #records(java.util.Collection)
      • 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:
        DnsRecordVerificationStatus, DnsRecordVerificationStatus