public FaceMatch withSimilarity(Float similarity) {
        setSimilarity(similarity);
        return this;
    }
<p>
Confidence in the match of this face with the input face.
</p>

@param similarity
       Confidence in the match of this face with the input face.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/FaceMatch.java