Interface ListMailDomainsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ListMailDomainsResponse.Builder,ListMailDomainsResponse>, SdkBuilder<ListMailDomainsResponse.Builder,ListMailDomainsResponse>, SdkPojo, SdkResponse.Builder, WorkMailResponse.Builder
Enclosing class:
ListMailDomainsResponse

public static interface ListMailDomainsResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListMailDomainsResponse.Builder,ListMailDomainsResponse>
  • Method Details

    • 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

      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

      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.

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

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

      Parameters:
      mailDomains - a consumer that will call methods on MailDomainSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.