@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchFacesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
SearchFacesResult() |
| Modifier and Type | Method and Description |
|---|---|
SearchFacesResult |
clone() |
boolean |
equals(Object obj) |
List<FaceMatch> |
getFaceMatches()
An array of faces that matched the input face, along with the confidence in the match.
|
String |
getFaceModelVersion()
Latest face model being used with the collection.
|
String |
getSearchedFaceId()
ID of the face that was searched for matches in a collection.
|
int |
hashCode() |
void |
setFaceMatches(Collection<FaceMatch> faceMatches)
An array of faces that matched the input face, along with the confidence in the match.
|
void |
setFaceModelVersion(String faceModelVersion)
Latest face model being used with the collection.
|
void |
setSearchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
|
String |
toString()
Returns a string representation of this object.
|
SearchFacesResult |
withFaceMatches(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(String faceModelVersion)
Latest face model being used with the collection.
|
SearchFacesResult |
withSearchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSearchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
searchedFaceId - ID of the face that was searched for matches in a collection.public String getSearchedFaceId()
ID of the face that was searched for matches in a collection.
public SearchFacesResult withSearchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
searchedFaceId - ID of the face that was searched for matches in a collection.public List<FaceMatch> getFaceMatches()
An array of faces that matched the input face, along with the confidence in the match.
public void setFaceMatches(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.
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 matched the input face, along with the confidence in the match.public SearchFacesResult withFaceMatches(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 void setFaceModelVersion(String faceModelVersion)
Latest face model being used with the collection. For more information, see Model versioning.
faceModelVersion - Latest face model being used with the collection. For more information, see Model versioning.public String getFaceModelVersion()
Latest face model being used with the collection. For more information, see Model versioning.
public SearchFacesResult withFaceModelVersion(String faceModelVersion)
Latest face model being used with the collection. For more information, see Model versioning.
faceModelVersion - Latest face model being used with the collection. For more information, see Model versioning.public String toString()
toString in class ObjectObject.toString()public SearchFacesResult clone()
Copyright © 2022. All rights reserved.