@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnsuccessfulFaceAssociation extends Object implements Serializable, Cloneable, StructuredPojo
Contains metadata like FaceId, UserID, and Reasons, for a face that was unsuccessfully associated.
Constructor and Description |
---|
UnsuccessfulFaceAssociation() |
Modifier and Type | Method and Description |
---|---|
UnsuccessfulFaceAssociation |
clone() |
boolean |
equals(Object obj) |
Float |
getConfidence()
Match confidence with the UserID, provides information regarding if a face association was unsuccessful because
it didn't meet UserMatchThreshold.
|
String |
getFaceId()
A unique identifier assigned to the face.
|
List<String> |
getReasons()
The reason why the association was unsuccessful.
|
String |
getUserId()
A provided ID for the UserID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfidence(Float confidence)
Match confidence with the UserID, provides information regarding if a face association was unsuccessful because
it didn't meet UserMatchThreshold.
|
void |
setFaceId(String faceId)
A unique identifier assigned to the face.
|
void |
setReasons(Collection<String> reasons)
The reason why the association was unsuccessful.
|
void |
setUserId(String userId)
A provided ID for the UserID.
|
String |
toString()
Returns a string representation of this object.
|
UnsuccessfulFaceAssociation |
withConfidence(Float confidence)
Match confidence with the UserID, provides information regarding if a face association was unsuccessful because
it didn't meet UserMatchThreshold.
|
UnsuccessfulFaceAssociation |
withFaceId(String faceId)
A unique identifier assigned to the face.
|
UnsuccessfulFaceAssociation |
withReasons(Collection<String> reasons)
The reason why the association was unsuccessful.
|
UnsuccessfulFaceAssociation |
withReasons(String... reasons)
The reason why the association was unsuccessful.
|
UnsuccessfulFaceAssociation |
withReasons(UnsuccessfulFaceAssociationReason... reasons)
The reason why the association was unsuccessful.
|
UnsuccessfulFaceAssociation |
withUserId(String userId)
A provided ID for the UserID.
|
public void setFaceId(String faceId)
A unique identifier assigned to the face.
faceId
- A unique identifier assigned to the face.public String getFaceId()
A unique identifier assigned to the face.
public UnsuccessfulFaceAssociation withFaceId(String faceId)
A unique identifier assigned to the face.
faceId
- A unique identifier assigned to the face.public void setUserId(String userId)
A provided ID for the UserID. Unique within the collection.
userId
- A provided ID for the UserID. Unique within the collection.public String getUserId()
A provided ID for the UserID. Unique within the collection.
public UnsuccessfulFaceAssociation withUserId(String userId)
A provided ID for the UserID. Unique within the collection.
userId
- A provided ID for the UserID. Unique within the collection.public void setConfidence(Float confidence)
Match confidence with the UserID, provides information regarding if a face association was unsuccessful because it didn't meet UserMatchThreshold.
confidence
- Match confidence with the UserID, provides information regarding if a face association was unsuccessful
because it didn't meet UserMatchThreshold.public Float getConfidence()
Match confidence with the UserID, provides information regarding if a face association was unsuccessful because it didn't meet UserMatchThreshold.
public UnsuccessfulFaceAssociation withConfidence(Float confidence)
Match confidence with the UserID, provides information regarding if a face association was unsuccessful because it didn't meet UserMatchThreshold.
confidence
- Match confidence with the UserID, provides information regarding if a face association was unsuccessful
because it didn't meet UserMatchThreshold.public List<String> getReasons()
The reason why the association was unsuccessful.
UnsuccessfulFaceAssociationReason
public void setReasons(Collection<String> reasons)
The reason why the association was unsuccessful.
reasons
- The reason why the association was unsuccessful.UnsuccessfulFaceAssociationReason
public UnsuccessfulFaceAssociation withReasons(String... reasons)
The reason why the association was unsuccessful.
NOTE: This method appends the values to the existing list (if any). Use
setReasons(java.util.Collection)
or withReasons(java.util.Collection)
if you want to override
the existing values.
reasons
- The reason why the association was unsuccessful.UnsuccessfulFaceAssociationReason
public UnsuccessfulFaceAssociation withReasons(Collection<String> reasons)
The reason why the association was unsuccessful.
reasons
- The reason why the association was unsuccessful.UnsuccessfulFaceAssociationReason
public UnsuccessfulFaceAssociation withReasons(UnsuccessfulFaceAssociationReason... reasons)
The reason why the association was unsuccessful.
reasons
- The reason why the association was unsuccessful.UnsuccessfulFaceAssociationReason
public String toString()
toString
in class Object
Object.toString()
public UnsuccessfulFaceAssociation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.