public AssetAttributes withAmiId(String amiId) {
        setAmiId(amiId);
        return this;
    }
<p>
The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is generated.
</p>

@param amiId
       The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where the finding is
       generated.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-inspector/src/main/java/com/amazonaws/services/inspector/model/AssetAttributes.java