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