/** * <p> * 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. * </p> * * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public CompareFacesRequest withTargetImage(Image targetImage) { setTargetImage(targetImage); return this; }
/** * Constructs a new CompareFacesRequest object. Callers should use the * setter or fluent setter (with...) methods to initialize any additional * object members. * * @param sourceImage <p> * 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. * </p> * @param targetImage <p> * 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. * </p> */ public CompareFacesRequest(Image sourceImage, Image targetImage) { setSourceImage(sourceImage); setTargetImage(targetImage); }