AWS SDK for .NET Documentation
InstanceState Class
AmazonAmazon.EC2.ModelInstanceState Did this page help you?   Yes   No    Tell us about it...
Instance State
Declaration Syntax
C#
public class InstanceState
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
InstanceState()()()()
Initializes a new instance of the InstanceState class

Code
A code representing the state of the instance.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetCode()()()()
Checks if Code property is set

IsSetName()()()()
Checks if Name property is set

Name
The current state of the instance. Valid values are: pending | running | shutting-down | terminated | stopping | stopped

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCode(Decimal) Obsolete.
Sets the code representing the state of the instance.

WithName(String) Obsolete.
Sets the current state of the instance.

Inheritance Hierarchy
Object
InstanceState

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