@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()
 The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the same
 account. | 
| Integer | getImpact()
 The impact of the incident on your customers and applications. | 
| Map<String,String> | getIncidentTags()
 Tags to assign to the template. | 
| 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)
 The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the same
 account. | 
| void | setImpact(Integer impact)
 The impact of the incident on your customers and applications. | 
| void | setIncidentTags(Map<String,String> incidentTags)
 Tags to assign to the template. | 
| 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)
 The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the same
 account. | 
| IncidentTemplate | withImpact(Integer impact)
 The impact of the incident on your customers and applications. | 
| IncidentTemplate | withIncidentTags(Map<String,String> incidentTags)
 Tags to assign to the template. | 
| 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)
The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the same account.
 A deduplication string is a term or phrase the system uses to check for duplicate incidents. If you specify a
 deduplication string, Incident Manager searches for open incidents that contain the same string in the
 dedupeString field when it creates the incident. If a duplicate is detected, Incident Manager
 deduplicates the newer incident into the existing incident.
 
By default, Incident Manager automatically deduplicates multiple incidents created by the same Amazon CloudWatch alarm or Amazon EventBridge event. You don't have to enter your own deduplication string to prevent duplication for these resource types.
dedupeString - The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the
        same account.
        
        A deduplication string is a term or phrase the system uses to check for duplicate incidents. If you
        specify a deduplication string, Incident Manager searches for open incidents that contain the same string
        in the dedupeString field when it creates the incident. If a duplicate is detected, Incident
        Manager deduplicates the newer incident into the existing incident.
        
By default, Incident Manager automatically deduplicates multiple incidents created by the same Amazon CloudWatch alarm or Amazon EventBridge event. You don't have to enter your own deduplication string to prevent duplication for these resource types.
public String getDedupeString()
The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the same account.
 A deduplication string is a term or phrase the system uses to check for duplicate incidents. If you specify a
 deduplication string, Incident Manager searches for open incidents that contain the same string in the
 dedupeString field when it creates the incident. If a duplicate is detected, Incident Manager
 deduplicates the newer incident into the existing incident.
 
By default, Incident Manager automatically deduplicates multiple incidents created by the same Amazon CloudWatch alarm or Amazon EventBridge event. You don't have to enter your own deduplication string to prevent duplication for these resource types.
         A deduplication string is a term or phrase the system uses to check for duplicate incidents. If you
         specify a deduplication string, Incident Manager searches for open incidents that contain the same string
         in the dedupeString field when it creates the incident. If a duplicate is detected, Incident
         Manager deduplicates the newer incident into the existing incident.
         
By default, Incident Manager automatically deduplicates multiple incidents created by the same Amazon CloudWatch alarm or Amazon EventBridge event. You don't have to enter your own deduplication string to prevent duplication for these resource types.
public IncidentTemplate withDedupeString(String dedupeString)
The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the same account.
 A deduplication string is a term or phrase the system uses to check for duplicate incidents. If you specify a
 deduplication string, Incident Manager searches for open incidents that contain the same string in the
 dedupeString field when it creates the incident. If a duplicate is detected, Incident Manager
 deduplicates the newer incident into the existing incident.
 
By default, Incident Manager automatically deduplicates multiple incidents created by the same Amazon CloudWatch alarm or Amazon EventBridge event. You don't have to enter your own deduplication string to prevent duplication for these resource types.
dedupeString - The string Incident Manager uses to prevent the same root cause from creating multiple incidents in the
        same account.
        
        A deduplication string is a term or phrase the system uses to check for duplicate incidents. If you
        specify a deduplication string, Incident Manager searches for open incidents that contain the same string
        in the dedupeString field when it creates the incident. If a duplicate is detected, Incident
        Manager deduplicates the newer incident into the existing incident.
        
By default, Incident Manager automatically deduplicates multiple incidents created by the same Amazon CloudWatch alarm or Amazon EventBridge event. You don't have to enter your own deduplication string to prevent duplication for these resource types.
public void setImpact(Integer impact)
The impact of the incident on your customers and applications.
Supported impact codes
 1 - Critical
 
 2 - High
 
 3 - Medium
 
 4 - Low
 
 5 - No Impact
 
impact - The impact of the incident on your customers and applications.
        Supported impact codes
        1 - Critical
        
        2 - High
        
        3 - Medium
        
        4 - Low
        
        5 - No Impact
        
public Integer getImpact()
The impact of the incident on your customers and applications.
Supported impact codes
 1 - Critical
 
 2 - High
 
 3 - Medium
 
 4 - Low
 
 5 - No Impact
 
Supported impact codes
         1 - Critical
         
         2 - High
         
         3 - Medium
         
         4 - Low
         
         5 - No Impact
         
public IncidentTemplate withImpact(Integer impact)
The impact of the incident on your customers and applications.
Supported impact codes
 1 - Critical
 
 2 - High
 
 3 - Medium
 
 4 - Low
 
 5 - No Impact
 
impact - The impact of the incident on your customers and applications.
        Supported impact codes
        1 - Critical
        
        2 - High
        
        3 - Medium
        
        4 - Low
        
        5 - No Impact
        
public Map<String,String> getIncidentTags()
 Tags to assign to the template. When the StartIncident API action is called, Incident Manager
 assigns the tags specified in the template to the incident.
 
StartIncident API action is called, Incident
         Manager assigns the tags specified in the template to the incident.public void setIncidentTags(Map<String,String> incidentTags)
 Tags to assign to the template. When the StartIncident API action is called, Incident Manager
 assigns the tags specified in the template to the incident.
 
incidentTags - Tags to assign to the template. When the StartIncident API action is called, Incident Manager
        assigns the tags specified in the template to the incident.public IncidentTemplate withIncidentTags(Map<String,String> incidentTags)
 Tags to assign to the template. When the StartIncident API action is called, Incident Manager
 assigns the tags specified in the template to the incident.
 
incidentTags - Tags to assign to the template. When the StartIncident API action is called, Incident Manager
        assigns the tags specified in the template to the incident.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 ObjectObject.toString()public IncidentTemplate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.