AWS SDK for .NET Documentation
WithSubnetId Method (subnetId)
AmazonAmazon.EC2.ModelImportInstanceLaunchSpecificationTypeWithSubnetId(String) Did this page help you?   Yes   No    Tell us about it...
Sets the ID of the subnet you want to launch the instance into.
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 ImportInstanceLaunchSpecificationType WithSubnetId(
	string subnetId
)
Parameters
subnetId (String)
If you're using Amazon Virtual Private Cloud, this specifies the ID of the subnet you want to launch the instance into.
Return Value
this instance

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