public TransitGatewayOptions withDnsSupport(String dnsSupport) {
        setDnsSupport(dnsSupport);
        return this;
    }
<p>
Indicates whether DNS support is enabled.
</p>

@param dnsSupport
       Indicates whether DNS support is enabled.
@return Returns a reference to this object so that method calls can be chained together.
@see DnsSupportValue
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/TransitGatewayOptions.java