Interface ListMailDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListMailDomainsResponse.Builder,,ListMailDomainsResponse> SdkBuilder<ListMailDomainsResponse.Builder,,ListMailDomainsResponse> SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
ListMailDomainsResponse
-
Method Summary
Modifier and TypeMethodDescriptionmailDomains(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(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.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.The token to use to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
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 theMailDomainSummary.Builderavoiding the need to create one manually viaMailDomainSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomailDomains(List<MailDomainSummary>).- Parameters:
mailDomains- a consumer that will call methods onMailDomainSummary.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
nullwhen there are no more results to return.- Parameters:
nextToken- The token to use to retrieve the next page of results. The value becomesnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-