public RegisterImageRequest withImageLocation(String imageLocation) {
        setImageLocation(imageLocation);
        return this;
    }
<p>
The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
<code>aws-exec-read</code> canned access control list (ACL) to ensure that it can be accessed by Amazon EC2. For
more information, see <a
href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl">Canned ACLs</a> in the
<i>Amazon S3 Service Developer Guide</i>.
</p>

@param imageLocation
       The full path to your AMI manifest in Amazon S3 storage. The specified bucket must have the
       <code>aws-exec-read</code> canned access control list (ACL) to ensure that it can be accessed by Amazon
       EC2. For more information, see <a
       href="https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html#canned-acl">Canned ACLs</a> in the
       <i>Amazon S3 Service Developer Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/RegisterImageRequest.java