Interface ListDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListDomainsResponse.Builder,
,ListDomainsResponse> SdkBuilder<ListDomainsResponse.Builder,
,ListDomainsResponse> SdkPojo
,SdkResponse.Builder
,WorkLinkResponse.Builder
- Enclosing class:
ListDomainsResponse
public static interface ListDomainsResponse.Builder
extends WorkLinkResponse.Builder, SdkPojo, CopyableBuilder<ListDomainsResponse.Builder,ListDomainsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomains
(Collection<DomainSummary> domains) Information about the domains.domains
(Consumer<DomainSummary.Builder>... domains) Information about the domains.domains
(DomainSummary... domains) Information about the domains.The pagination token used to retrieve the next page of results for this operation.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.worklink.model.WorkLinkResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
domains
Information about the domains.
- Parameters:
domains
- Information about the domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
Information about the domains.
- Parameters:
domains
- Information about the domains.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
Information about the domains.
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 todomains(List<DomainSummary>)
.- Parameters:
domains
- 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
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
- Parameters:
nextToken
- The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-