Interface ListDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ControlCatalogResponse.Builder,CopyableBuilder<ListDomainsResponse.Builder,,ListDomainsResponse> SdkBuilder<ListDomainsResponse.Builder,,ListDomainsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDomainsResponse
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 theListDomainsAPI returns.domains(Consumer<DomainSummary.Builder>... domains) The list of domains that theListDomainsAPI returns.domains(DomainSummary... domains) The list of domains that theListDomainsAPI 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, 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
domains
The list of domains that the
ListDomainsAPI returns.- Parameters:
domains- The list of domains that theListDomainsAPI returns.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domains
The list of domains that the
ListDomainsAPI returns.- Parameters:
domains- The list of domains that theListDomainsAPI 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 theListDomainsAPI returns.DomainSummary.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 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.
-