public ModifyVpcEndpointServiceConfigurationRequest withPrivateDnsName(String privateDnsName) {
        setPrivateDnsName(privateDnsName);
        return this;
    }
<p>
(Interface endpoint configuration) The private DNS name to assign to the endpoint service.
</p>

@param privateDnsName
       (Interface endpoint configuration) The private DNS name to assign to the endpoint service.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ModifyVpcEndpointServiceConfigurationRequest.java