Interface ListDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDomainsResponse.Builder,
,ListDomainsResponse> SdkBuilder<ListDomainsResponse.Builder,
,ListDomainsResponse> SdkPojo
,SdkResponse.Builder
,VoiceIdResponse.Builder
- Enclosing class:
ListDomainsResponse
public static interface ListDomainsResponse.Builder
extends VoiceIdResponse.Builder, SdkPojo, CopyableBuilder<ListDomainsResponse.Builder,ListDomainsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomainSummaries
(Collection<DomainSummary> domainSummaries) A list containing details about each domain in the Amazon Web Services account.domainSummaries
(Consumer<DomainSummary.Builder>... domainSummaries) A list containing details about each domain in the Amazon Web Services account.domainSummaries
(DomainSummary... domainSummaries) A list containing details about each domain in the Amazon Web Services account.IfNextToken
is returned, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.voiceid.model.VoiceIdResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
domainSummaries
A list containing details about each domain in the Amazon Web Services account.
- Parameters:
domainSummaries
- A list containing details about each domain in the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainSummaries
A list containing details about each domain in the Amazon Web Services account.
- Parameters:
domainSummaries
- A list containing details about each domain in the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainSummaries
A list containing details about each domain in the Amazon Web Services account.
This is a convenience method that creates an instance of theDomainSummary.Builder
avoiding the need to create one manually viaDomainSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todomainSummaries(List<DomainSummary>)
.- Parameters:
domainSummaries
- a consumer that will call methods onDomainSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If
NextToken
is returned, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.- Parameters:
nextToken
- IfNextToken
is returned, there are more results available. The value ofNextToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-