public void setDnsName(String dnsName) {
        this.dnsName = dnsName;
    }
<p>
The DNS name of your Lightsail load balancer.
</p>

@param dnsName
       The DNS name of your Lightsail load balancer.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/LoadBalancer.java