public String getDnsName() {
        return this.dnsName;
    }
<p>
The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
</p>

@return The DNS name of a compute resource. Amazon GameLift requires a DNS name or IP address for a compute.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/Compute.java