Interface IncidentRecord.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<IncidentRecord.Builder,
,IncidentRecord> SdkBuilder<IncidentRecord.Builder,
,IncidentRecord> SdkPojo
- Enclosing class:
IncidentRecord
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the incident record.automationExecutions
(Collection<AutomationExecution> automationExecutions) The runbook, or automation document, that's run at the beginning of the incident.automationExecutions
(Consumer<AutomationExecution.Builder>... automationExecutions) The runbook, or automation document, that's run at the beginning of the incident.automationExecutions
(AutomationExecution... automationExecutions) The runbook, or automation document, that's run at the beginning of the incident.default IncidentRecord.Builder
chatChannel
(Consumer<ChatChannel.Builder> chatChannel) The chat channel used for collaboration during an incident.chatChannel
(ChatChannel chatChannel) The chat channel used for collaboration during an incident.creationTime
(Instant creationTime) The time that Incident Manager created the incident record.dedupeString
(String dedupeString) The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.The impact of the incident on customers and applications.default IncidentRecord.Builder
incidentRecordSource
(Consumer<IncidentRecordSource.Builder> incidentRecordSource) Details about the action that started the incident.incidentRecordSource
(IncidentRecordSource incidentRecordSource) Details about the action that started the incident.lastModifiedBy
(String lastModifiedBy) Who modified the incident most recently.lastModifiedTime
(Instant lastModifiedTime) The time at which the incident was most recently modified.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.resolvedTime
(Instant resolvedTime) The time at which the incident was resolved.The current status of the incident.status
(IncidentRecordStatus status) The current status of the 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
-
arn
The Amazon Resource Name (ARN) of the incident record.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the incident record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationExecutions
The runbook, or automation document, that's run at the beginning of the incident.
- Parameters:
automationExecutions
- The runbook, or automation document, that's run at the beginning of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationExecutions
The runbook, or automation document, that's run at the beginning of the incident.
- Parameters:
automationExecutions
- The runbook, or automation document, that's run at the beginning of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
automationExecutions
IncidentRecord.Builder automationExecutions(Consumer<AutomationExecution.Builder>... automationExecutions) The runbook, or automation document, that's run at the beginning of the incident.
This is a convenience method that creates an instance of theAutomationExecution.Builder
avoiding the need to create one manually viaAutomationExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toautomationExecutions(List<AutomationExecution>)
.- Parameters:
automationExecutions
- a consumer that will call methods onAutomationExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
chatChannel
The chat channel used for collaboration during an incident.
- Parameters:
chatChannel
- The chat channel used for collaboration during an incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatChannel
The chat channel used for collaboration during an incident.
This is a convenience method that creates an instance of theChatChannel.Builder
avoiding the need to create one manually viaChatChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochatChannel(ChatChannel)
.- Parameters:
chatChannel
- a consumer that will call methods onChatChannel.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
The time that Incident Manager created the incident record.
- Parameters:
creationTime
- The time that Incident Manager created the incident record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dedupeString
The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.
- Parameters:
dedupeString
- The string Incident Manager uses to prevent duplicate incidents from being created by the same incident in the same account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impact
The impact of the incident on customers and applications.
- Parameters:
impact
- The impact of the incident on customers and applications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecordSource
Details about the action that started the incident.
- Parameters:
incidentRecordSource
- Details about the action that started the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
incidentRecordSource
default IncidentRecord.Builder incidentRecordSource(Consumer<IncidentRecordSource.Builder> incidentRecordSource) Details about the action that started the incident.
This is a convenience method that creates an instance of theIncidentRecordSource.Builder
avoiding the need to create one manually viaIncidentRecordSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toincidentRecordSource(IncidentRecordSource)
.- Parameters:
incidentRecordSource
- a consumer that will call methods onIncidentRecordSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedBy
Who modified the incident most recently.
- Parameters:
lastModifiedBy
- Who modified the incident most recently.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The time at which the incident was most recently modified.
- Parameters:
lastModifiedTime
- The time at which the incident was most recently modified.- 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
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
IncidentRecord.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:
-
resolvedTime
The time at which the incident was resolved. This appears as a timeline event.
- Parameters:
resolvedTime
- The time at which the incident was resolved. This appears as a timeline event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the incident.
- Parameters:
status
- The current status of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the incident.
- Parameters:
status
- The current status of the incident.- 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 of the incident.
- Parameters:
summary
- The summary of the incident. The summary is a brief synopsis of what occurred, what's currently happening, and context of the incident.- 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.
-