Interface IncidentTemplate.Builder

All Superinterfaces:
Buildable, CopyableBuilder<IncidentTemplate.Builder,IncidentTemplate>, SdkBuilder<IncidentTemplate.Builder,IncidentTemplate>, SdkPojo
Enclosing class:
IncidentTemplate

public static interface IncidentTemplate.Builder extends SdkPojo, CopyableBuilder<IncidentTemplate.Builder,IncidentTemplate>
  • Method Details

    • dedupeString

      IncidentTemplate.Builder dedupeString(String 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

      IncidentTemplate.Builder incidentTags(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.

      Parameters:
      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.
      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

      IncidentTemplate.Builder notificationTargets(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

      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 the NotificationTargetItem.Builder avoiding the need to create one manually via NotificationTargetItem.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to notificationTargets(List<NotificationTargetItem>).

      Parameters:
      notificationTargets - a consumer that will call methods on NotificationTargetItem.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • summary

      IncidentTemplate.Builder summary(String 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.