Interface ListMailDomainsResponse.Builder

    • Method Detail

      • mailDomains

        ListMailDomainsResponse.Builder mailDomains​(Collection<MailDomainSummary> mailDomains)

        The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.

        Parameters:
        mailDomains - The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mailDomains

        ListMailDomainsResponse.Builder mailDomains​(MailDomainSummary... mailDomains)

        The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.

        Parameters:
        mailDomains - The list of mail domain summaries, specifying domains that exist in the specified WorkMail organization, along with the information about whether the domain is or isn't the default.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListMailDomainsResponse.Builder nextToken​(String nextToken)

        The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.

        Parameters:
        nextToken - The token to use to retrieve the next page of results. The value becomes null when there are no more results to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.