@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() |
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 input image as base64-encoded bytes or an S3 object.
|
Image |
getTargetImage()
The target image as base64-encoded bytes or 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 input image as base64-encoded bytes or an S3 object.
|
void |
setTargetImage(Image targetImage)
The target image as base64-encoded bytes or 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 input image as base64-encoded bytes or an S3 object.
|
CompareFacesRequest |
withTargetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object.
|
addHandlerContext, copyBaseTo, 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 input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
sourceImage - The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition
operations, passing base64-encoded image bytes is not supported.public Image getSourceImage()
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
public CompareFacesRequest withSourceImage(Image sourceImage)
The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
sourceImage - The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition
operations, passing base64-encoded image bytes is not supported.public void setTargetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
targetImage - The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, passing base64-encoded image bytes is not supported.public Image getTargetImage()
The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
public CompareFacesRequest withTargetImage(Image targetImage)
The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes is not supported.
targetImage - The target image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon
Rekognition operations, passing base64-encoded image bytes is not supported.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()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.