AWS SDK for .NET Documentation
StateReason Class
AmazonAmazon.EC2.ModelStateReason Did this page help you?   Yes   No    Tell us about it...
Reason for the state change.
Declaration Syntax
C#
public class StateReason
Members
All MembersConstructorsMethodsProperties



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

Code
Reason code for the state change.

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

IsSetMessage()()()()
Checks if Message property is set

Message
Message for the state change.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithCode(String) Obsolete.
Sets the reason code for the state change.

WithMessage(String) Obsolete.
Sets the message for the state change.

Inheritance Hierarchy
Object
StateReason

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