public CreateCustomDBEngineVersionRequest withImageId(String imageId) {
        setImageId(imageId);
        return this;
    }
<p>
The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a CEV.
For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI ID that was
used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBEngineVersions.html"
>DescribeDBEngineVersions</a> operation.
</p>

@param imageId
       The ID of the Amazon Machine Image (AMI). For RDS Custom for SQL Server, an AMI ID is required to create a
       CEV. For RDS Custom for Oracle, the default is the most recent AMI available, but you can specify an AMI
       ID that was used in a different Oracle CEV. Find the AMIs used by your CEVs by calling the <a
       href="https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_DescribeDBEngineVersions.html"
       >DescribeDBEngineVersions</a> operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/CreateCustomDBEngineVersionRequest.java