public String getAmiId() {
        return this.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>

@return 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