AWS SDK for .NET Documentation
WithInstanceState Method (instanceState)
AmazonAmazon.EC2.ModelInstanceStatusWithInstanceState(InstanceState) Did this page help you?   Yes   No    Tell us about it...
Sets the current state of the instance.
Declaration Syntax
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See for more information.")]
public InstanceStatus WithInstanceState(
	InstanceState instanceState
instanceState (InstanceState)
The current state of the instance.
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (