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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetMatchesResponse.Buildermatches(Collection<MatchItem> matches)The list of matched profiles for this instance.GetMatchesResponse.Buildermatches(Consumer<MatchItem.Builder>... matches)The list of matched profiles for this instance.GetMatchesResponse.Buildermatches(MatchItem... matches)The list of matched profiles for this instance.GetMatchesResponse.BuildermatchGenerationDate(Instant matchGenerationDate)The timestamp this version of Match Result generated.GetMatchesResponse.BuildernextToken(String nextToken)If there are additional results, this is the token for the next set of results.GetMatchesResponse.BuilderpotentialMatches(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 Detail
-
nextToken
GetMatchesResponse.Builder nextToken(String 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
GetMatchesResponse.Builder matchGenerationDate(Instant 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
GetMatchesResponse.Builder potentialMatches(Integer 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
GetMatchesResponse.Builder matches(Collection<MatchItem> 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
GetMatchesResponse.Builder matches(MatchItem... 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
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.Builderavoiding the need to create one manually viaMatchItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#matches(List.) - 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:
#matches(java.util.Collection)
-
-