@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchFacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
SearchFacesRequest() |
Modifier and Type | Method and Description |
---|---|
SearchFacesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCollectionId()
ID of the collection the face belongs to.
|
String |
getFaceId()
ID of a face to find matches for in the collection.
|
Float |
getFaceMatchThreshold()
Optional value specifying the minimum confidence in the face match to return.
|
Integer |
getMaxFaces()
Maximum number of faces to return.
|
int |
hashCode() |
void |
setCollectionId(String collectionId)
ID of the collection the face belongs to.
|
void |
setFaceId(String faceId)
ID of a face to find matches for in the collection.
|
void |
setFaceMatchThreshold(Float faceMatchThreshold)
Optional value specifying the minimum confidence in the face match to return.
|
void |
setMaxFaces(Integer maxFaces)
Maximum number of faces to return.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SearchFacesRequest |
withCollectionId(String collectionId)
ID of the collection the face belongs to.
|
SearchFacesRequest |
withFaceId(String faceId)
ID of a face to find matches for in the collection.
|
SearchFacesRequest |
withFaceMatchThreshold(Float faceMatchThreshold)
Optional value specifying the minimum confidence in the face match to return.
|
SearchFacesRequest |
withMaxFaces(Integer maxFaces)
Maximum number of faces to return.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCollectionId(String collectionId)
ID of the collection the face belongs to.
collectionId
- ID of the collection the face belongs to.public String getCollectionId()
ID of the collection the face belongs to.
public SearchFacesRequest withCollectionId(String collectionId)
ID of the collection the face belongs to.
collectionId
- ID of the collection the face belongs to.public void setFaceId(String faceId)
ID of a face to find matches for in the collection.
faceId
- ID of a face to find matches for in the collection.public String getFaceId()
ID of a face to find matches for in the collection.
public SearchFacesRequest withFaceId(String faceId)
ID of a face to find matches for in the collection.
faceId
- ID of a face to find matches for in the collection.public void setMaxFaces(Integer maxFaces)
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.
maxFaces
- Maximum number of faces to return. The operation returns the maximum number of faces with the highest
confidence in the match.public Integer getMaxFaces()
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.
public SearchFacesRequest withMaxFaces(Integer maxFaces)
Maximum number of faces to return. The operation returns the maximum number of faces with the highest confidence in the match.
maxFaces
- Maximum number of faces to return. The operation returns the maximum number of faces with the highest
confidence in the match.public void setFaceMatchThreshold(Float faceMatchThreshold)
Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%.
faceMatchThreshold
- Optional value specifying the minimum confidence in the face match to return. For example, don't return
any matches where confidence in matches is less than 70%.public Float getFaceMatchThreshold()
Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%.
public SearchFacesRequest withFaceMatchThreshold(Float faceMatchThreshold)
Optional value specifying the minimum confidence in the face match to return. For example, don't return any matches where confidence in matches is less than 70%.
faceMatchThreshold
- Optional value specifying the minimum confidence in the face match to return. For example, don't return
any matches where confidence in matches is less than 70%.public String toString()
toString
in class Object
Object.toString()
public SearchFacesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.