public class SearchFacesResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SearchFacesResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<FaceMatch> |
getFaceMatches()
An array of faces that matched the input face, along with the confidence
in the match.
|
java.lang.String |
getFaceModelVersion()
Version number of the face detection model associated with the input
collection (
CollectionId ). |
java.lang.String |
getSearchedFaceId()
ID of the face that was searched for matches in a collection.
|
int |
hashCode() |
void |
setFaceMatches(java.util.Collection<FaceMatch> faceMatches)
An array of faces that matched the input face, along with the confidence
in the match.
|
void |
setFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (
CollectionId ). |
void |
setSearchedFaceId(java.lang.String searchedFaceId)
ID of the face that was searched for matches in a collection.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SearchFacesResult |
withFaceMatches(java.util.Collection<FaceMatch> faceMatches)
An array of faces that matched the input face, along with the confidence
in the match.
|
SearchFacesResult |
withFaceMatches(FaceMatch... faceMatches)
An array of faces that matched the input face, along with the confidence
in the match.
|
SearchFacesResult |
withFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (
CollectionId ). |
SearchFacesResult |
withSearchedFaceId(java.lang.String searchedFaceId)
ID of the face that was searched for matches in a collection.
|
public java.lang.String getSearchedFaceId()
ID of the face that was searched for matches in a collection.
Constraints:
Pattern:
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
ID of the face that was searched for matches in a collection.
public void setSearchedFaceId(java.lang.String searchedFaceId)
ID of the face that was searched for matches in a collection.
Constraints:
Pattern:
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
searchedFaceId
- ID of the face that was searched for matches in a collection.
public SearchFacesResult withSearchedFaceId(java.lang.String searchedFaceId)
ID of the face that was searched for matches in a collection.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern:
[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}
searchedFaceId
- ID of the face that was searched for matches in a collection.
public java.util.List<FaceMatch> getFaceMatches()
An array of faces that matched the input face, along with the confidence in the match.
An array of faces that matched the input face, along with the confidence in the match.
public void setFaceMatches(java.util.Collection<FaceMatch> faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
faceMatches
- An array of faces that matched the input face, along with the confidence in the match.
public SearchFacesResult withFaceMatches(FaceMatch... faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
Returns a reference to this object so that method calls can be chained together.
faceMatches
- An array of faces that matched the input face, along with the confidence in the match.
public SearchFacesResult withFaceMatches(java.util.Collection<FaceMatch> faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
Returns a reference to this object so that method calls can be chained together.
faceMatches
- An array of faces that matched the input face, along with the confidence in the match.
public java.lang.String getFaceModelVersion()
Version number of the face detection model associated with the input
collection (CollectionId
).
Version number of the face detection model associated with the
input collection (CollectionId
).
public void setFaceModelVersion(java.lang.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 SearchFacesResult withFaceModelVersion(java.lang.String faceModelVersion)
Version number of the face detection model associated with the input
collection (CollectionId
).
Returns a reference to this object so that method calls can be chained together.
faceModelVersion
-
Version number of the face detection model associated with the
input collection (CollectionId
).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.