@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StateChangeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Contains the configuration information of alarm state changes.
| Constructor and Description |
|---|
StateChangeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
StateChangeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getTriggerType()
The trigger type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setTriggerType(String triggerType)
The trigger type.
|
String |
toString()
Returns a string representation of this object.
|
StateChangeConfiguration |
withTriggerType(String triggerType)
The trigger type.
|
StateChangeConfiguration |
withTriggerType(TriggerType triggerType)
The trigger type.
|
public void setTriggerType(String triggerType)
The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm
automatically changes to the NORMAL state.
triggerType - The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm
automatically changes to the NORMAL state.TriggerTypepublic String getTriggerType()
The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm
automatically changes to the NORMAL state.
SNOOZE_TIMEOUT, the snooze duration ends and the alarm
automatically changes to the NORMAL state.TriggerTypepublic StateChangeConfiguration withTriggerType(String triggerType)
The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm
automatically changes to the NORMAL state.
triggerType - The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm
automatically changes to the NORMAL state.TriggerTypepublic StateChangeConfiguration withTriggerType(TriggerType triggerType)
The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm
automatically changes to the NORMAL state.
triggerType - The trigger type. If the value is SNOOZE_TIMEOUT, the snooze duration ends and the alarm
automatically changes to the NORMAL state.TriggerTypepublic String toString()
toString in class ObjectObject.toString()public StateChangeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.