Instance State

Namespace: Amazon.EC2.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class InstanceState
Public Class InstanceState
public ref class InstanceState

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
InstanceState()()()()
Initializes a new instance of the InstanceState class
Code
Gets and sets the Code property. A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented. Valid values are: 0 (pending) | 16 (running) | 32 (shutting-down) | 48 (terminated) | 64 (stopping) | 80 (stopped)
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
Gets and sets the Name property. 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)
Sets the Code property
WithName(String)
Sets the Name property

Inheritance Hierarchy

System..::..Object
  Amazon.EC2.Model..::..InstanceState

See Also