public Distribution withDomainName(String domainName) {
        setDomainName(domainName);
        return this;
    }
<p>
The distribution's CloudFront domain name. For example: <code>d111111abcdef8.cloudfront.net</code>.
</p>

@param domainName
       The distribution's CloudFront domain name. For example: <code>d111111abcdef8.cloudfront.net</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudfront/src/main/java/com/amazonaws/services/cloudfront/model/Distribution.java