Interface ListProfileObjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListProfileObjectsResponse.Builder,,ListProfileObjectsResponse> CustomerProfilesResponse.Builder,SdkBuilder<ListProfileObjectsResponse.Builder,,ListProfileObjectsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProfileObjectsResponse
public static interface ListProfileObjectsResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<ListProfileObjectsResponse.Builder,ListProfileObjectsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<ListProfileObjectsItem> items) The list of ListProfileObject instances.items(Consumer<ListProfileObjectsItem.Builder>... items) The list of ListProfileObject instances.items(ListProfileObjectsItem... items) The list of ListProfileObject instances.The pagination token from the previous call to ListProfileObjects.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 ListProfileObject instances.
- Parameters:
items- The list of ListProfileObject instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of ListProfileObject instances.
- Parameters:
items- The list of ListProfileObject instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
The list of ListProfileObject instances.
This is a convenience method that creates an instance of theListProfileObjectsItem.Builderavoiding the need to create one manually viaListProfileObjectsItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<ListProfileObjectsItem>).- Parameters:
items- a consumer that will call methods onListProfileObjectsItem.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 call to ListProfileObjects.
- Parameters:
nextToken- The pagination token from the previous call to ListProfileObjects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-