@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompareFacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CompareFacesResult() |
Modifier and Type | Method and Description |
---|---|
CompareFacesResult |
clone() |
boolean |
equals(Object obj) |
List<CompareFacesMatch> |
getFaceMatches()
Provides an array of
CompareFacesMatch objects. |
ComparedSourceImageFace |
getSourceImageFace()
The face from the source image that was used for comparison.
|
int |
hashCode() |
void |
setFaceMatches(Collection<CompareFacesMatch> faceMatches)
Provides an array of
CompareFacesMatch objects. |
void |
setSourceImageFace(ComparedSourceImageFace sourceImageFace)
The face from the source image that was used for comparison.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CompareFacesResult |
withFaceMatches(Collection<CompareFacesMatch> faceMatches)
Provides an array of
CompareFacesMatch objects. |
CompareFacesResult |
withFaceMatches(CompareFacesMatch... faceMatches)
Provides an array of
CompareFacesMatch objects. |
CompareFacesResult |
withSourceImageFace(ComparedSourceImageFace sourceImageFace)
The face from the source image that was used for comparison.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSourceImageFace(ComparedSourceImageFace sourceImageFace)
The face from the source image that was used for comparison.
sourceImageFace
- The face from the source image that was used for comparison.public ComparedSourceImageFace getSourceImageFace()
The face from the source image that was used for comparison.
public CompareFacesResult withSourceImageFace(ComparedSourceImageFace sourceImageFace)
The face from the source image that was used for comparison.
sourceImageFace
- The face from the source image that was used for comparison.public List<CompareFacesMatch> getFaceMatches()
Provides an array of CompareFacesMatch
objects. Each object provides the bounding box, confidence
that the bounding box contains a face, and the similarity between the face in the bounding box and the face in
the source image.
CompareFacesMatch
objects. Each object provides the bounding box,
confidence that the bounding box contains a face, and the similarity between the face in the bounding box
and the face in the source image.public void setFaceMatches(Collection<CompareFacesMatch> faceMatches)
Provides an array of CompareFacesMatch
objects. Each object provides the bounding box, confidence
that the bounding box contains a face, and the similarity between the face in the bounding box and the face in
the source image.
faceMatches
- Provides an array of CompareFacesMatch
objects. Each object provides the bounding box,
confidence that the bounding box contains a face, and the similarity between the face in the bounding box
and the face in the source image.public CompareFacesResult withFaceMatches(CompareFacesMatch... faceMatches)
Provides an array of CompareFacesMatch
objects. Each object provides the bounding box, confidence
that the bounding box contains a face, and the similarity between the face in the bounding box and the face in
the source image.
NOTE: This method appends the values to the existing list (if any). Use
setFaceMatches(java.util.Collection)
or withFaceMatches(java.util.Collection)
if you want to
override the existing values.
faceMatches
- Provides an array of CompareFacesMatch
objects. Each object provides the bounding box,
confidence that the bounding box contains a face, and the similarity between the face in the bounding box
and the face in the source image.public CompareFacesResult withFaceMatches(Collection<CompareFacesMatch> faceMatches)
Provides an array of CompareFacesMatch
objects. Each object provides the bounding box, confidence
that the bounding box contains a face, and the similarity between the face in the bounding box and the face in
the source image.
faceMatches
- Provides an array of CompareFacesMatch
objects. Each object provides the bounding box,
confidence that the bounding box contains a face, and the similarity between the face in the bounding box
and the face in the source image.public String toString()
toString
in class Object
Object.toString()
public CompareFacesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.