@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SystemEvent extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about alarm state changes.
| Constructor and Description |
|---|
SystemEvent() |
| Modifier and Type | Method and Description |
|---|---|
SystemEvent |
clone() |
boolean |
equals(Object obj) |
String |
getEventType()
The event type.
|
StateChangeConfiguration |
getStateChangeConfiguration()
Contains the configuration information of alarm state changes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEventType(String eventType)
The event type.
|
void |
setStateChangeConfiguration(StateChangeConfiguration stateChangeConfiguration)
Contains the configuration information of alarm state changes.
|
String |
toString()
Returns a string representation of this object.
|
SystemEvent |
withEventType(EventType eventType)
The event type.
|
SystemEvent |
withEventType(String eventType)
The event type.
|
SystemEvent |
withStateChangeConfiguration(StateChangeConfiguration stateChangeConfiguration)
Contains the configuration information of alarm state changes.
|
public void setEventType(String eventType)
The event type. If the value is STATE_CHANGE, the event contains information about alarm state
changes.
eventType - The event type. If the value is STATE_CHANGE, the event contains information about alarm
state changes.EventTypepublic String getEventType()
The event type. If the value is STATE_CHANGE, the event contains information about alarm state
changes.
STATE_CHANGE, the event contains information about alarm
state changes.EventTypepublic SystemEvent withEventType(String eventType)
The event type. If the value is STATE_CHANGE, the event contains information about alarm state
changes.
eventType - The event type. If the value is STATE_CHANGE, the event contains information about alarm
state changes.EventTypepublic SystemEvent withEventType(EventType eventType)
The event type. If the value is STATE_CHANGE, the event contains information about alarm state
changes.
eventType - The event type. If the value is STATE_CHANGE, the event contains information about alarm
state changes.EventTypepublic void setStateChangeConfiguration(StateChangeConfiguration stateChangeConfiguration)
Contains the configuration information of alarm state changes.
stateChangeConfiguration - Contains the configuration information of alarm state changes.public StateChangeConfiguration getStateChangeConfiguration()
Contains the configuration information of alarm state changes.
public SystemEvent withStateChangeConfiguration(StateChangeConfiguration stateChangeConfiguration)
Contains the configuration information of alarm state changes.
stateChangeConfiguration - Contains the configuration information of alarm state changes.public String toString()
toString in class ObjectObject.toString()public SystemEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.