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 that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #matches(List) .matches - a consumer that will call methods on List.Builder #matches(List) Copyright © 2021. All rights reserved.