Sets the public DNS name assigned to the instance.

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 WithPublicDnsName( string publicDnsName )

- publicDnsName (String)
- The public DNS name assigned to the instance. This DNS name is contactable from outside the Amazon EC2 network. This element remains empty until the instance enters a running state

this instance