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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListDomainsResponse.Builderdomains(Collection<DomainSummary> domains)The list of domains that theListDomainsAPI returns.ListDomainsResponse.Builderdomains(Consumer<DomainSummary.Builder>... domains)The list of domains that theListDomainsAPI returns.ListDomainsResponse.Builderdomains(DomainSummary... domains)The list of domains that theListDomainsAPI returns.ListDomainsResponse.BuildernextToken(String nextToken)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
domains
ListDomainsResponse.Builder domains(Collection<DomainSummary> 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
ListDomainsResponse.Builder domains(DomainSummary... 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
ListDomainsResponse.Builder domains(Consumer<DomainSummary.Builder>... 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 to#domains(List.) - 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:
#domains(java.util.Collection)
-
nextToken
ListDomainsResponse.Builder nextToken(String 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.
-
-