AWS SDK for .NET Documentation
WithPublicDnsName Method (publicDnsName)
AmazonAmazon.EC2.ModelRunningInstanceWithPublicDnsName(String) Did this page help you?   Yes   No    Tell us about it...
Sets the public DNS name assigned to the instance.
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 WithPublicDnsName(
	string publicDnsName
)
Parameters
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
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)