Interface ListDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ControlCatalogResponse.Builder
,CopyableBuilder<ListDomainsResponse.Builder,
,ListDomainsResponse> SdkBuilder<ListDomainsResponse.Builder,
,ListDomainsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListDomainsResponse
@Mutable
@NotThreadSafe
public static interface ListDomainsResponse.Builder
extends ControlCatalogResponse.Builder, SdkPojo, CopyableBuilder<ListDomainsResponse.Builder,ListDomainsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondomains
(Collection<DomainSummary> domains) The list of domains that theListDomains
API returns.domains
(Consumer<DomainSummary.Builder>... domains) The list of domains that theListDomains
API returns.domains
(DomainSummary... domains) The list of domains that theListDomains
API returns.The pagination token that's used to fetch the next set of results.Methods inherited from interface software.amazon.awssdk.services.controlcatalog.model.ControlCatalogResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
domains
The list of domains that the
ListDomains
API returns.- Parameters:
domains
- The list of domains that theListDomains
API returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
The list of domains that the
ListDomains
API returns.- Parameters:
domains
- The list of domains that theListDomains
API returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
The list of domains that the
This is a convenience method that creates an instance of theListDomains
API returns.DomainSummary.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 that's used to fetch the next set of results.
- Parameters:
nextToken
- The pagination token that's used to fetch the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-