public CreateCustomDBEngineVersionRequest withUseAwsProvidedLatestImage(Boolean useAwsProvidedLatestImage) {
        setUseAwsProvidedLatestImage(useAwsProvidedLatestImage);
        return this;
    }
<p>
Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you specify
<code>UseAwsProvidedLatestImage</code>, you can't also specify <code>ImageId</code>.
</p>

@param useAwsProvidedLatestImage
       Specifies whether to use the latest service-provided Amazon Machine Image (AMI) for the CEV. If you
       specify <code>UseAwsProvidedLatestImage</code>, you can't also specify <code>ImageId</code>.
@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