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

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