Interface GetMatchesResponse.Builder

    • 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.