@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchFacesByImageResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchFacesByImageResult() |
Modifier and Type | Method and Description |
---|---|
SearchFacesByImageResult |
clone() |
boolean |
equals(Object obj) |
List<FaceMatch> |
getFaceMatches()
An array of faces that match the input face, along with the confidence in the match.
|
BoundingBox |
getSearchedFaceBoundingBox()
The bounding box around the face in the input image that Amazon Rekognition used for the search.
|
Float |
getSearchedFaceConfidence()
The level of confidence that the
searchedFaceBoundingBox , contains a face. |
int |
hashCode() |
void |
setFaceMatches(Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in the match.
|
void |
setSearchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
|
void |
setSearchedFaceConfidence(Float searchedFaceConfidence)
The level of confidence that the
searchedFaceBoundingBox , contains a face. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SearchFacesByImageResult |
withFaceMatches(Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in the match.
|
SearchFacesByImageResult |
withFaceMatches(FaceMatch... faceMatches)
An array of faces that match the input face, along with the confidence in the match.
|
SearchFacesByImageResult |
withSearchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
|
SearchFacesByImageResult |
withSearchedFaceConfidence(Float searchedFaceConfidence)
The level of confidence that the
searchedFaceBoundingBox , contains a face. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSearchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
searchedFaceBoundingBox
- The bounding box around the face in the input image that Amazon Rekognition used for the search.public BoundingBox getSearchedFaceBoundingBox()
The bounding box around the face in the input image that Amazon Rekognition used for the search.
public SearchFacesByImageResult withSearchedFaceBoundingBox(BoundingBox searchedFaceBoundingBox)
The bounding box around the face in the input image that Amazon Rekognition used for the search.
searchedFaceBoundingBox
- The bounding box around the face in the input image that Amazon Rekognition used for the search.public void setSearchedFaceConfidence(Float searchedFaceConfidence)
The level of confidence that the searchedFaceBoundingBox
, contains a face.
searchedFaceConfidence
- The level of confidence that the searchedFaceBoundingBox
, contains a face.public Float getSearchedFaceConfidence()
The level of confidence that the searchedFaceBoundingBox
, contains a face.
searchedFaceBoundingBox
, contains a face.public SearchFacesByImageResult withSearchedFaceConfidence(Float searchedFaceConfidence)
The level of confidence that the searchedFaceBoundingBox
, contains a face.
searchedFaceConfidence
- The level of confidence that the searchedFaceBoundingBox
, contains a face.public List<FaceMatch> getFaceMatches()
An array of faces that match the input face, along with the confidence in the match.
public void setFaceMatches(Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in the match.
faceMatches
- An array of faces that match the input face, along with the confidence in the match.public SearchFacesByImageResult withFaceMatches(FaceMatch... faceMatches)
An array of faces that match the input face, along with the confidence in the match.
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
- An array of faces that match the input face, along with the confidence in the match.public SearchFacesByImageResult withFaceMatches(Collection<FaceMatch> faceMatches)
An array of faces that match the input face, along with the confidence in the match.
faceMatches
- An array of faces that match the input face, along with the confidence in the match.public String toString()
toString
in class Object
Object.toString()
public SearchFacesByImageResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.