Interface GetMatchesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetMatchesResponse.Builder,
,GetMatchesResponse> CustomerProfilesResponse.Builder
,SdkBuilder<GetMatchesResponse.Builder,
,GetMatchesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetMatchesResponse
public static interface GetMatchesResponse.Builder
extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetMatchesResponse.Builder,GetMatchesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmatches
(Collection<MatchItem> matches) The list of matched profiles for this instance.matches
(Consumer<MatchItem.Builder>... matches) The list of matched profiles for this instance.The list of matched profiles for this instance.matchGenerationDate
(Instant matchGenerationDate) The timestamp this version of Match Result generated.If there are additional results, this is the token for the next set of results.potentialMatches
(Integer potentialMatches) The number of potential matches found.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 Details
-
nextToken
If there are additional results, this is the token for the next set of results.
- Parameters:
nextToken
- If there are additional results, this is the token for the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchGenerationDate
The timestamp this version of Match Result generated.
- Parameters:
matchGenerationDate
- The timestamp this version of Match Result generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
potentialMatches
The number of potential matches found.
- Parameters:
potentialMatches
- The number of potential matches found.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matches
The list of matched profiles for this instance.
- Parameters:
matches
- The list of matched profiles for this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matches
The list of matched profiles for this instance.
- Parameters:
matches
- The list of matched profiles for this instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaMatchItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatches(List<MatchItem>)
.- Parameters:
matches
- a consumer that will call methods onMatchItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-