public CheckDNSAvailabilityRequest withCNAMEPrefix(String cNAMEPrefix) {
        setCNAMEPrefix(cNAMEPrefix);
        return this;
    }
<p>
The prefix used when this CNAME is reserved.
</p>

@param cNAMEPrefix
       The prefix used when this CNAME is reserved.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticbeanstalk/src/main/java/com/amazonaws/services/elasticbeanstalk/model/CheckDNSAvailabilityRequest.java