@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AlarmNotification extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about one or more notification actions.
Constructor and Description |
---|
AlarmNotification() |
Modifier and Type | Method and Description |
---|---|
AlarmNotification |
clone() |
boolean |
equals(Object obj) |
List<NotificationAction> |
getNotificationActions()
Contains the notification settings of an alarm model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setNotificationActions(Collection<NotificationAction> notificationActions)
Contains the notification settings of an alarm model.
|
String |
toString()
Returns a string representation of this object.
|
AlarmNotification |
withNotificationActions(Collection<NotificationAction> notificationActions)
Contains the notification settings of an alarm model.
|
AlarmNotification |
withNotificationActions(NotificationAction... notificationActions)
Contains the notification settings of an alarm model.
|
public List<NotificationAction> getNotificationActions()
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
public void setNotificationActions(Collection<NotificationAction> notificationActions)
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
notificationActions
- Contains the notification settings of an alarm model. The settings apply to all alarms that were created
based on this alarm model.public AlarmNotification withNotificationActions(NotificationAction... notificationActions)
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationActions(java.util.Collection)
or withNotificationActions(java.util.Collection)
if you want to override the existing values.
notificationActions
- Contains the notification settings of an alarm model. The settings apply to all alarms that were created
based on this alarm model.public AlarmNotification withNotificationActions(Collection<NotificationAction> notificationActions)
Contains the notification settings of an alarm model. The settings apply to all alarms that were created based on this alarm model.
notificationActions
- Contains the notification settings of an alarm model. The settings apply to all alarms that were created
based on this alarm model.public String toString()
toString
in class Object
Object.toString()
public AlarmNotification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.