@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaceMatch extends Object implements Serializable, Cloneable, StructuredPojo
Provides face metadata. In addition, it also provides the confidence in the match of this face with the input face.
| Constructor and Description |
|---|
FaceMatch() |
| Modifier and Type | Method and Description |
|---|---|
FaceMatch |
clone() |
boolean |
equals(Object obj) |
Face |
getFace() |
Float |
getSimilarity()
Confidence in the match of this face with the input face.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setFace(Face face) |
void |
setSimilarity(Float similarity)
Confidence in the match of this face with the input face.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FaceMatch |
withFace(Face face) |
FaceMatch |
withSimilarity(Float similarity)
Confidence in the match of this face with the input face.
|
public void setSimilarity(Float similarity)
Confidence in the match of this face with the input face.
similarity - Confidence in the match of this face with the input face.public Float getSimilarity()
Confidence in the match of this face with the input face.
public FaceMatch withSimilarity(Float similarity)
Confidence in the match of this face with the input face.
similarity - Confidence in the match of this face with the input face.public void setFace(Face face)
face - public Face getFace()
public FaceMatch withFace(Face face)
face - public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.