public UpdateDomainNameResult withDomainNameConfig(DomainNameConfig domainNameConfig) {
        setDomainNameConfig(domainNameConfig);
        return this;
    }
<p>
The configuration for the <code>DomainName</code>.
</p>

@param domainNameConfig
       The configuration for the <code>DomainName</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appsync/src/main/java/com/amazonaws/services/appsync/model/UpdateDomainNameResult.java