public void setAmiId(String amiId) {
        this.amiId = amiId;
    }
<p>
A custom AMI ID to be used to create the instance. For more information, see <a
href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html">Instances</a>
</p>

@param amiId
       A custom AMI ID to be used to create the instance. For more information, see <a
       href="https://docs.aws.amazon.com/opsworks/latest/userguide/workinginstances-custom-ami.html"
       >Instances</a>
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/Instance.java