Container for the parameters to the SetAlarmState operation.
Temporarily sets the state of an alarm. When the updated StateValue differs from the previous value, the action configured for the appropriate state is invoked. This is not a permanent change. The next periodic alarm check (in about a minute) will set the alarm to its actual state.

C# |
public class SetAlarmStateRequest : AmazonWebServiceRequest

All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
![]() | SetAlarmStateRequest()()()() | Initializes a new instance of the SetAlarmStateRequest class |
![]() | AlarmName |
The descriptive name for the alarm. This name must be unique within the user's AWS account. The maximum length is 255 characters.
Constraints: |
![]() | 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.) |
![]() | StateReason |
The reason that this alarm is set to this specific state (in human-readable text format)
Constraints: |
![]() | StateReasonData |
The reason that this alarm is set to this specific state (in machine-readable JSON format)
Constraints: |
![]() | StateValue |
The value of the state.
Constraints: |
![]() | ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) |
![]() | WithAlarmName(String) | Obsolete.
Sets the AlarmName property
|
![]() | WithStateReason(String) | Obsolete.
Sets the StateReason property
|
![]() | WithStateReasonData(String) | Obsolete.
Sets the StateReasonData property
|
![]() | WithStateValue(String) | Obsolete.
Sets the StateValue property
|

Object | ||
![]() | AmazonWebServiceRequest | |
![]() | SetAlarmStateRequest |