Sets the private DNS name assigned to the instance.
            
 Declaration Syntax
 Declaration Syntax| C# | 
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")] public RunningInstance WithPrivateDnsName( string privateDnsName )
 Parameters
 Parameters- privateDnsName (String)
- The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This element remains empty until the instance enters a running state
 Return Value
 Return Valuethis instance