@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.TriggerType
public 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.TriggerType
public 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.TriggerType
public 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.TriggerType
public String toString()
toString
in class Object
Object.toString()
public StateChangeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.