public UpdateDomainNameRequest withDomainNameConfigurations(java.util.Collection<DomainNameConfiguration> domainNameConfigurations) {
        setDomainNameConfigurations(domainNameConfigurations);
        return this;
    }
<p>
The domain name configurations.
</p>

@param domainNameConfigurations
       The domain name configurations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/UpdateDomainNameRequest.java