AWS SDK for .NET Documentation
WithCode Method (code)
AmazonAmazon.EC2.ModelInstanceStatusEventWithCode(String) Did this page help you?   Yes   No    Tell us about it...
Sets the associated code for the event.
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 InstanceStatusEvent WithCode(
	string code
code (String)
Valid parameters are instance-reboot|system-reboot|instance-retirement
Return Value
this instance

Assembly: AWSSDK (Module: AWSSDK) Version: (