@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 |
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 |
setSearchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 |
withSearchedFaceId(String searchedFaceId)
ID of the face that was searched for matches in a collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 String toString()
toString
in class Object
Object.toString()
public SearchFacesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.