@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmRule extends Object implements Serializable, Cloneable, StructuredPojo
Defines when your alarm is invoked.
| Constructor and Description | 
|---|
AlarmRule()  | 
| Modifier and Type | Method and Description | 
|---|---|
AlarmRule | 
clone()  | 
boolean | 
equals(Object obj)  | 
SimpleRule | 
getSimpleRule()
 A rule that compares an input property value to a threshold value with a comparison operator. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setSimpleRule(SimpleRule simpleRule)
 A rule that compares an input property value to a threshold value with a comparison operator. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
AlarmRule | 
withSimpleRule(SimpleRule simpleRule)
 A rule that compares an input property value to a threshold value with a comparison operator. 
 | 
public void setSimpleRule(SimpleRule simpleRule)
A rule that compares an input property value to a threshold value with a comparison operator.
simpleRule - A rule that compares an input property value to a threshold value with a comparison operator.public SimpleRule getSimpleRule()
A rule that compares an input property value to a threshold value with a comparison operator.
public AlarmRule withSimpleRule(SimpleRule simpleRule)
A rule that compares an input property value to a threshold value with a comparison operator.
simpleRule - A rule that compares an input property value to a threshold value with a comparison operator.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.