public void setRemovePrivateDnsName(Boolean removePrivateDnsName) {
        this.removePrivateDnsName = removePrivateDnsName;
    }
<p>
(Interface endpoint configuration) Removes the private DNS name of the endpoint service.
</p>

@param removePrivateDnsName
       (Interface endpoint configuration) Removes the private DNS name of the endpoint service.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcEndpointServiceConfigurationRequest.java