Interface IncidentTemplate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IncidentTemplate.Builder,
,IncidentTemplate> SdkBuilder<IncidentTemplate.Builder,
,IncidentTemplate> SdkPojo
- Enclosing class:
IncidentTemplate
-
Method Summary
Modifier and TypeMethodDescriptiondedupeString
(String dedupeString) Used to stop Incident Manager from creating multiple incident records for the same incident.The impact of the incident on your customers and applications.incidentTags
(Map<String, String> incidentTags) Tags to assign to the template.notificationTargets
(Collection<NotificationTargetItem> notificationTargets) The Amazon SNS targets that are notified when updates are made to an incident.notificationTargets
(Consumer<NotificationTargetItem.Builder>... notificationTargets) The Amazon SNS targets that are notified when updates are made to an incident.notificationTargets
(NotificationTargetItem... notificationTargets) The Amazon SNS targets that are notified when updates are made to an incident.The summary of the incident.The title of the incident.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dedupeString
Used to stop Incident Manager from creating multiple incident records for the same incident.
- Parameters:
dedupeString
- Used to stop Incident Manager from creating multiple incident records for the same incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impact
The impact of the incident on your customers and applications.
- Parameters:
impact
- The impact of the incident on your customers and applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
incidentTags
- Tags to assign to the template. When theStartIncident
API action is called, Incident Manager assigns the tags specified in the template to the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationTargets
IncidentTemplate.Builder notificationTargets(Collection<NotificationTargetItem> notificationTargets) The Amazon SNS targets that are notified when updates are made to an incident.
- Parameters:
notificationTargets
- The Amazon SNS targets that are notified when updates are made to an incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationTargets
The Amazon SNS targets that are notified when updates are made to an incident.
- Parameters:
notificationTargets
- The Amazon SNS targets that are notified when updates are made to an incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationTargets
IncidentTemplate.Builder notificationTargets(Consumer<NotificationTargetItem.Builder>... notificationTargets) The Amazon SNS targets that are notified when updates are made to an incident.
This is a convenience method that creates an instance of theNotificationTargetItem.Builder
avoiding the need to create one manually viaNotificationTargetItem.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotificationTargets(List<NotificationTargetItem>)
.- Parameters:
notificationTargets
- a consumer that will call methods onNotificationTargetItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context.
- Parameters:
summary
- The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
The title of the incident.
- Parameters:
title
- The title of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-