Container for the parameters to the SetAlarmState operation.
Namespace: Amazon.CloudWatch.ModelTemporarily 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.
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
| C# | Visual Basic | Visual C++ |
public class SetAlarmStateRequest : AmazonWebServiceRequest
Public Class SetAlarmStateRequest _ Inherits AmazonWebServiceRequest
public ref class SetAlarmStateRequest : public AmazonWebServiceRequest
Members
| All Members | Constructors | Properties | Methods |
| 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()()()() | (Inherited from Object.) | |
| WithAlarmName(String) |
Sets the AlarmName property
| |
| WithStateReason(String) |
Sets the StateReason property
| |
| WithStateReasonData(String) |
Sets the StateReasonData property
| |
| WithStateValue(String) |
Sets the StateValue property
|
Inheritance Hierarchy
System..::..Object
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.CloudWatch.Model..::..SetAlarmStateRequest
Amazon.Runtime..::..AmazonWebServiceRequest
Amazon.CloudWatch.Model..::..SetAlarmStateRequest