@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmEventActions extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about one or more alarm actions.
Constructor and Description |
---|
AlarmEventActions() |
Modifier and Type | Method and Description |
---|---|
AlarmEventActions |
clone() |
boolean |
equals(Object obj) |
List<AlarmAction> |
getAlarmActions()
Specifies one or more supported actions to receive notifications when the alarm state changes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlarmActions(Collection<AlarmAction> alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
|
String |
toString()
Returns a string representation of this object.
|
AlarmEventActions |
withAlarmActions(AlarmAction... alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
|
AlarmEventActions |
withAlarmActions(Collection<AlarmAction> alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
|
public List<AlarmAction> getAlarmActions()
Specifies one or more supported actions to receive notifications when the alarm state changes.
public void setAlarmActions(Collection<AlarmAction> alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
alarmActions
- Specifies one or more supported actions to receive notifications when the alarm state changes.public AlarmEventActions withAlarmActions(AlarmAction... alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
NOTE: This method appends the values to the existing list (if any). Use
setAlarmActions(java.util.Collection)
or withAlarmActions(java.util.Collection)
if you want to
override the existing values.
alarmActions
- Specifies one or more supported actions to receive notifications when the alarm state changes.public AlarmEventActions withAlarmActions(Collection<AlarmAction> alarmActions)
Specifies one or more supported actions to receive notifications when the alarm state changes.
alarmActions
- Specifies one or more supported actions to receive notifications when the alarm state changes.public String toString()
toString
in class Object
Object.toString()
public AlarmEventActions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.