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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchProfilesResponse.Builderitems(Collection<Profile> items)The list of Profiles matching the search criteria.SearchProfilesResponse.Builderitems(Consumer<Profile.Builder>... items)The list of Profiles matching the search criteria.SearchProfilesResponse.Builderitems(Profile... items)The list of Profiles matching the search criteria.SearchProfilesResponse.BuildernextToken(String nextToken)The pagination token from the previous SearchProfiles API call.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadata
-
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
-
items
SearchProfilesResponse.Builder items(Collection<Profile> 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
SearchProfilesResponse.Builder items(Profile... 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
SearchProfilesResponse.Builder items(Consumer<Profile.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
nextToken
SearchProfilesResponse.Builder nextToken(String 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.
-
-