public void setDnsName(String dnsName) {
        this.dnsName = dnsName;
    }
<p>
The Domain Name System (DNS) name that Global Accelerator creates that points to an accelerator's static IPv4
addresses.
</p>
<p>
The naming convention for the DNS name for an accelerator is the following: A lowercase letter a, followed by a
16-bit random hex string, followed by .awsglobalaccelerator.com. For example:
a1234567890abcdef.awsglobalaccelerator.com.
</p>
<p>
If you have a dual-stack accelerator, you also have a second DNS name, <code>DualStackDnsName</code>, that points
to both the A record and the AAAA record for all four static addresses for the accelerator: two IPv4 addresses
and two IPv6 addresses.
</p>
<p>
For more information about the default DNS name, see <a href=
"https://docs.aws.amazon.com/global-accelerator/latest/dg/dns-addressing-custom-domains.dns-addressing.html">
Support for DNS addressing in Global Accelerator</a> in the <i>Global Accelerator Developer Guide</i>.
</p>

@param dnsName
       The Domain Name System (DNS) name that Global Accelerator creates that points to an accelerator's static
       IPv4 addresses.</p>
       <p>
       The naming convention for the DNS name for an accelerator is the following: A lowercase letter a, followed
       by a 16-bit random hex string, followed by .awsglobalaccelerator.com. For example:
       a1234567890abcdef.awsglobalaccelerator.com.
       </p>
       <p>
       If you have a dual-stack accelerator, you also have a second DNS name, <code>DualStackDnsName</code>, that
       points to both the A record and the AAAA record for all four static addresses for the accelerator: two
       IPv4 addresses and two IPv6 addresses.
       </p>
       <p>
       For more information about the default DNS name, see <a href=
       "https://docs.aws.amazon.com/global-accelerator/latest/dg/dns-addressing-custom-domains.dns-addressing.html"
       > Support for DNS addressing in Global Accelerator</a> in the <i>Global Accelerator Developer Guide</i>.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/Accelerator.java