public InstanceTypeSpecification withCustomAmiId(String customAmiId) {
        setCustomAmiId(customAmiId);
        return this;
    }
<p>
The custom AMI ID to use for the instance type.
</p>

@param customAmiId
       The custom AMI ID to use for the instance type.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/InstanceTypeSpecification.java