Interface ListDomainsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDomainsResponse.Builder,,ListDomainsResponse> CustomerProfilesResponse.Builder,SdkBuilder<ListDomainsResponse.Builder,,ListDomainsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDomainsResponse
public static interface ListDomainsResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListDomainsResponse.Builder,ListDomainsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ListDomainItem> items) The list of ListDomains instances.items(Consumer<ListDomainItem.Builder>... items) The list of ListDomains instances.items(ListDomainItem... items) The list of ListDomains instances.The pagination token from the previous ListDomains API call.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
items
The list of ListDomains instances.
- Parameters:
items- The list of ListDomains instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of ListDomains instances.
- Parameters:
items- The list of ListDomains instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of ListDomains instances.
This is a convenience method that creates an instance of theListDomainItem.Builderavoiding the need to create one manually viaListDomainItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ListDomainItem>).- Parameters:
items- a consumer that will call methods onListDomainItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token from the previous ListDomains API call.
- Parameters:
nextToken- The pagination token from the previous ListDomains API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-