The InstanceState data type.

C# |
public class InstanceState

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | InstanceState()()()() |
Default constructor for a new InstanceState object. Callers should use the
properties or fluent setter (With...) methods to initialize this object after creating it.
|
![]() | Description |
Provides a description of the instance state.
|
![]() | Equals(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.) |
![]() | InstanceId |
Provides an EC2 instance ID.
|
![]() | ReasonCode |
Provides information about the cause of OutOfService instances. Specifically, it indicates whether the cause is Elastic Load
Balancing or the instance behind the load balancer. Valid value: ELB|Instance|N/A |
![]() | State |
Specifies the current state of the instance. Valid value: InService|OutOfService |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithDescription(String) | Obsolete.
Sets the Description property
|
![]() | WithInstanceId(String) | Obsolete.
Sets the InstanceId property
|
![]() | WithReasonCode(String) | Obsolete.
Sets the ReasonCode property
|
![]() | WithState(String) | Obsolete.
Sets the State property
|

Object | |
![]() | InstanceState |