public void setPrivateDnsName(String privateDnsName) {
        this.privateDnsName = privateDnsName;
    }
<p>
The private DNS name assigned to the VPC endpoint service.
</p>

@param privateDnsName
       The private DNS name assigned to the VPC endpoint service.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/PrivateDnsDetails.java