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