Interface ListDomainsResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CodeartifactResponse.Builder,CopyableBuilder<ListDomainsResponse.Builder,,ListDomainsResponse> SdkBuilder<ListDomainsResponse.Builder,,ListDomainsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 ListDomainsResponse
public static interface ListDomainsResponse.Builder
extends CodeartifactResponse.Builder, SdkPojo, CopyableBuilder<ListDomainsResponse.Builder,ListDomainsResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondomains(Collection<DomainSummary> domains) The returned list of DomainSummary objects.domains(Consumer<DomainSummary.Builder>... domains) The returned list of DomainSummary objects.domains(DomainSummary... domains) The returned list of DomainSummary objects.The token for the next set of results.Methods inherited from interface software.amazon.awssdk.services.codeartifact.model.CodeartifactResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
domains
The returned list of DomainSummary objects.
- Parameters:
 domains- The returned list of DomainSummary objects.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
domains
The returned list of DomainSummary objects.
- Parameters:
 domains- The returned list of DomainSummary objects.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
domains
The returned list of DomainSummary objects.
This is a convenience method that creates an instance of theDomainSummary.Builderavoiding the need to create one manually viaDomainSummary.builder().When the
Consumercompletes,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 token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
- Parameters:
 nextToken- The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -