The InstanceState data type.
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 |
| 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.
| |
| 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 LoadBalancer.
| |
| State |
Specifies the current status of the instance.
| |
| ToString()()()() | (Inherited from Object.) | |
| WithDescription(String) |
Sets the Description property
| |
| WithInstanceId(String) |
Sets the InstanceId property
| |
| WithReasonCode(String) |
Sets the ReasonCode property
| |
| WithState(String) |
Sets the State property
|