public static interface GetMatchesResponse.Builder extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetMatchesResponse.Builder,GetMatchesResponse>
| Modifier and Type | Method and Description |
|---|---|
GetMatchesResponse.Builder |
matches(Collection<MatchItem> matches)
The list of matched profiles for this instance.
|
GetMatchesResponse.Builder |
matches(Consumer<MatchItem.Builder>... matches)
The list of matched profiles for this instance.
|
GetMatchesResponse.Builder |
matches(MatchItem... matches)
The list of matched profiles for this instance.
|
GetMatchesResponse.Builder |
matchGenerationDate(Instant matchGenerationDate)
The timestamp this version of Match Result generated.
|
GetMatchesResponse.Builder |
nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
|
GetMatchesResponse.Builder |
potentialMatches(Integer potentialMatches)
The number of potential matches found.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetMatchesResponse.Builder nextToken(String nextToken)
If there are additional results, this is the token for the next set of results.
nextToken - If there are additional results, this is the token for the next set of results.GetMatchesResponse.Builder matchGenerationDate(Instant matchGenerationDate)
The timestamp this version of Match Result generated.
matchGenerationDate - The timestamp this version of Match Result generated.GetMatchesResponse.Builder potentialMatches(Integer potentialMatches)
The number of potential matches found.
potentialMatches - The number of potential matches found.GetMatchesResponse.Builder matches(Collection<MatchItem> matches)
The list of matched profiles for this instance.
matches - The list of matched profiles for this instance.GetMatchesResponse.Builder matches(MatchItem... matches)
The list of matched profiles for this instance.
matches - The list of matched profiles for this instance.GetMatchesResponse.Builder matches(Consumer<MatchItem.Builder>... matches)
The list of matched profiles for this instance.
This is a convenience method that creates an instance of theMatchItem.Builder avoiding the need to create
one manually via MatchItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #matches(List.
matches - a consumer that will call methods on
MatchItem.Builder#matches(java.util.Collection) Copyright © 2022. All rights reserved.