public static interface ListMailDomainsResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<ListMailDomainsResponse.Builder,ListMailDomainsResponse>
| Modifier and Type | Method and Description |
|---|---|
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.
|
ListMailDomainsResponse.Builder |
mailDomains(Consumer<MailDomainSummary.Builder>... 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.
|
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.
|
ListMailDomainsResponse.Builder |
nextToken(String nextToken)
The token to use to retrieve the next page of results.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListMailDomainsResponse.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.
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.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.
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.ListMailDomainsResponse.Builder mailDomains(Consumer<MailDomainSummary.Builder>... 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 theMailDomainSummary.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.
mailDomains - a consumer that will call methods on
MailDomainSummary.Builder#mailDomains(java.util.Collection) 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.
nextToken - The token to use to retrieve the next page of results. The value becomes null when there
are no more results to return.Copyright © 2022. All rights reserved.