@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompareFacesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CompareFacesRequest() |
| Modifier and Type | Method and Description |
|---|---|
CompareFacesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Float |
getSimilarityThreshold()
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array. |
Image |
getSourceImage()
The source image, either as bytes or as an S3 object.
|
Image |
getTargetImage()
The target image, either as bytes or as an S3 object.
|
int |
hashCode() |
void |
setSimilarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array. |
void |
setSourceImage(Image sourceImage)
The source image, either as bytes or as an S3 object.
|
void |
setTargetImage(Image targetImage)
The target image, either as bytes or as an S3 object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CompareFacesRequest |
withSimilarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array. |
CompareFacesRequest |
withSourceImage(Image sourceImage)
The source image, either as bytes or as an S3 object.
|
CompareFacesRequest |
withTargetImage(Image targetImage)
The target image, either as bytes or as an S3 object.
|
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, withSdkRequestTimeoutpublic void setSourceImage(Image sourceImage)
The source image, either as bytes or as an S3 object.
sourceImage - The source image, either as bytes or as an S3 object.public Image getSourceImage()
The source image, either as bytes or as an S3 object.
public CompareFacesRequest withSourceImage(Image sourceImage)
The source image, either as bytes or as an S3 object.
sourceImage - The source image, either as bytes or as an S3 object.public void setTargetImage(Image targetImage)
The target image, either as bytes or as an S3 object.
targetImage - The target image, either as bytes or as an S3 object.public Image getTargetImage()
The target image, either as bytes or as an S3 object.
public CompareFacesRequest withTargetImage(Image targetImage)
The target image, either as bytes or as an S3 object.
targetImage - The target image, either as bytes or as an S3 object.public void setSimilarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.
similarityThreshold - The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.public Float getSimilarityThreshold()
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.
FaceMatches array.public CompareFacesRequest withSimilarityThreshold(Float similarityThreshold)
The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.
similarityThreshold - The minimum level of confidence in the face matches that a match must meet to be included in the
FaceMatches array.public String toString()
toString in class ObjectObject.toString()public CompareFacesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.