public void setDnsOptions(DnsOptionsSpecification dnsOptions) {
        this.dnsOptions = dnsOptions;
    }
<p>
The DNS options for the endpoint.
</p>

@param dnsOptions
       The DNS options for the endpoint.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcEndpointRequest.java