@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.
|
String |
getFaceModelVersion()
Version number of the face detection model associated with the input collection (
CollectionId ). |
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 |
setFaceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (
CollectionId ). |
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.
|
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 |
withFaceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (
CollectionId ). |
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 void setFaceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (CollectionId
).
faceModelVersion
- Version number of the face detection model associated with the input collection (CollectionId
).public String getFaceModelVersion()
Version number of the face detection model associated with the input collection (CollectionId
).
CollectionId
).public SearchFacesByImageResult withFaceModelVersion(String faceModelVersion)
Version number of the face detection model associated with the input collection (CollectionId
).
faceModelVersion
- Version number of the face detection model associated with the input collection (CollectionId
).public String toString()
toString
in class Object
Object.toString()
public SearchFacesByImageResult clone()