AWS SDK for .NET Documentation
WithCurrentState Method (currentState)
AmazonAmazon.EC2.ModelInstanceStateChangeWithCurrentState(InstanceState) Did this page help you?   Yes   No    Tell us about it...
Sets the current state
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 InstanceStateChange WithCurrentState(
	InstanceState currentState
currentState (InstanceState)
Current state
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (