@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IncidentTemplate extends Object implements Serializable, Cloneable, StructuredPojo
Basic details used in creating a response plan. The response plan is then used to create an incident record.
Constructor and Description |
---|
IncidentTemplate() |
Modifier and Type | Method and Description |
---|---|
IncidentTemplate |
addIncidentTagsEntry(String key,
String value)
Add a single IncidentTags entry
|
IncidentTemplate |
clearIncidentTagsEntries()
Removes all the entries added into IncidentTags.
|
IncidentTemplate |
clone() |
boolean |
equals(Object obj) |
String |
getDedupeString()
Used to stop Incident Manager from creating multiple incident records for the same incident.
|
Integer |
getImpact()
The impact of the incident on your customers and applications.
|
Map<String,String> |
getIncidentTags()
Tags to apply to an incident when calling the
StartIncident API action. |
List<NotificationTargetItem> |
getNotificationTargets()
The Amazon SNS targets that are notified when updates are made to an incident.
|
String |
getSummary()
The summary of the incident.
|
String |
getTitle()
The title of the incident.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDedupeString(String dedupeString)
Used to stop Incident Manager from creating multiple incident records for the same incident.
|
void |
setImpact(Integer impact)
The impact of the incident on your customers and applications.
|
void |
setIncidentTags(Map<String,String> incidentTags)
Tags to apply to an incident when calling the
StartIncident API action. |
void |
setNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
|
void |
setSummary(String summary)
The summary of the incident.
|
void |
setTitle(String title)
The title of the incident.
|
String |
toString()
Returns a string representation of this object.
|
IncidentTemplate |
withDedupeString(String dedupeString)
Used to stop Incident Manager from creating multiple incident records for the same incident.
|
IncidentTemplate |
withImpact(Integer impact)
The impact of the incident on your customers and applications.
|
IncidentTemplate |
withIncidentTags(Map<String,String> incidentTags)
Tags to apply to an incident when calling the
StartIncident API action. |
IncidentTemplate |
withNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
|
IncidentTemplate |
withNotificationTargets(NotificationTargetItem... notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
|
IncidentTemplate |
withSummary(String summary)
The summary of the incident.
|
IncidentTemplate |
withTitle(String title)
The title of the incident.
|
public void setDedupeString(String dedupeString)
Used to stop Incident Manager from creating multiple incident records for the same incident.
dedupeString
- Used to stop Incident Manager from creating multiple incident records for the same incident.public String getDedupeString()
Used to stop Incident Manager from creating multiple incident records for the same incident.
public IncidentTemplate withDedupeString(String dedupeString)
Used to stop Incident Manager from creating multiple incident records for the same incident.
dedupeString
- Used to stop Incident Manager from creating multiple incident records for the same incident.public void setImpact(Integer impact)
The impact of the incident on your customers and applications.
impact
- The impact of the incident on your customers and applications.public Integer getImpact()
The impact of the incident on your customers and applications.
public IncidentTemplate withImpact(Integer impact)
The impact of the incident on your customers and applications.
impact
- The impact of the incident on your customers and applications.public Map<String,String> getIncidentTags()
Tags to apply to an incident when calling the StartIncident
API action.
StartIncident
API action.public void setIncidentTags(Map<String,String> incidentTags)
Tags to apply to an incident when calling the StartIncident
API action.
incidentTags
- Tags to apply to an incident when calling the StartIncident
API action.public IncidentTemplate withIncidentTags(Map<String,String> incidentTags)
Tags to apply to an incident when calling the StartIncident
API action.
incidentTags
- Tags to apply to an incident when calling the StartIncident
API action.public IncidentTemplate addIncidentTagsEntry(String key, String value)
public IncidentTemplate clearIncidentTagsEntries()
public List<NotificationTargetItem> getNotificationTargets()
The Amazon SNS targets that are notified when updates are made to an incident.
public void setNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
notificationTargets
- The Amazon SNS targets that are notified when updates are made to an incident.public IncidentTemplate withNotificationTargets(NotificationTargetItem... notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationTargets(java.util.Collection)
or withNotificationTargets(java.util.Collection)
if you want to override the existing values.
notificationTargets
- The Amazon SNS targets that are notified when updates are made to an incident.public IncidentTemplate withNotificationTargets(Collection<NotificationTargetItem> notificationTargets)
The Amazon SNS targets that are notified when updates are made to an incident.
notificationTargets
- The Amazon SNS targets that are notified when updates are made to an incident.public void setSummary(String summary)
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context.
summary
- The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening,
and context.public String getSummary()
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context.
public IncidentTemplate withSummary(String summary)
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context.
summary
- The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening,
and context.public void setTitle(String title)
The title of the incident.
title
- The title of the incident.public String getTitle()
The title of the incident.
public IncidentTemplate withTitle(String title)
The title of the incident.
title
- The title of the incident.public String toString()
toString
in class Object
Object.toString()
public IncidentTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.