@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserMatch extends Object implements Serializable, Cloneable, StructuredPojo
Provides UserID metadata along with the confidence in the match of this UserID with the input face.
Constructor and Description |
---|
UserMatch() |
Modifier and Type | Method and Description |
---|---|
UserMatch |
clone() |
boolean |
equals(Object obj) |
Float |
getSimilarity()
Describes the UserID metadata.
|
MatchedUser |
getUser()
Confidence in the match of this UserID with the input face.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSimilarity(Float similarity)
Describes the UserID metadata.
|
void |
setUser(MatchedUser user)
Confidence in the match of this UserID with the input face.
|
String |
toString()
Returns a string representation of this object.
|
UserMatch |
withSimilarity(Float similarity)
Describes the UserID metadata.
|
UserMatch |
withUser(MatchedUser user)
Confidence in the match of this UserID with the input face.
|
public void setSimilarity(Float similarity)
Describes the UserID metadata.
similarity
- Describes the UserID metadata.public Float getSimilarity()
Describes the UserID metadata.
public UserMatch withSimilarity(Float similarity)
Describes the UserID metadata.
similarity
- Describes the UserID metadata.public void setUser(MatchedUser user)
Confidence in the match of this UserID with the input face.
user
- Confidence in the match of this UserID with the input face.public MatchedUser getUser()
Confidence in the match of this UserID with the input face.
public UserMatch withUser(MatchedUser user)
Confidence in the match of this UserID with the input face.
user
- Confidence in the match of this UserID with the input face.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.