public UpdateDomainNameRequest withDomainName(String domainName) {
        setDomainName(domainName);
        return this;
    }
<p>
The domain name.
</p>

@param domainName
       The domain name.
@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