Interface UpdateIncidentRecordRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateIncidentRecordRequest.Builder,
,UpdateIncidentRecordRequest> SdkBuilder<UpdateIncidentRecordRequest.Builder,
,UpdateIncidentRecordRequest> SdkPojo
,SdkRequest.Builder
,SsmIncidentsRequest.Builder
- Enclosing class:
UpdateIncidentRecordRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the incident record you are updating.chatChannel
(Consumer<ChatChannel.Builder> chatChannel) The Chatbot chat channel where responders can collaborate.chatChannel
(ChatChannel chatChannel) The Chatbot chat channel where responders can collaborate.clientToken
(String clientToken) A token that ensures that a client calls the operation only once with the specified details.Defines the impact of the incident to customers and applications.notificationTargets
(Collection<NotificationTargetItem> notificationTargets) The Amazon SNS targets that Incident Manager notifies when a client updates an incident.notificationTargets
(Consumer<NotificationTargetItem.Builder>... notificationTargets) The Amazon SNS targets that Incident Manager notifies when a client updates an incident.notificationTargets
(NotificationTargetItem... notificationTargets) The Amazon SNS targets that Incident Manager notifies when a client updates an incident.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The status of the incident.status
(IncidentRecordStatus status) The status of the incident.A longer description of what occurred during the incident.A brief description of the incident.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.ssmincidents.model.SsmIncidentsRequest.Builder
build
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the incident record you are updating.
- Parameters:
arn
- The Amazon Resource Name (ARN) of the incident record you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatChannel
The Chatbot chat channel where responders can collaborate.
- Parameters:
chatChannel
- The Chatbot chat channel where responders can collaborate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chatChannel
The Chatbot chat channel where responders can collaborate.
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:
-
clientToken
A token that ensures that a client calls the operation only once with the specified details.
- Parameters:
clientToken
- A token that ensures that a client calls the operation only once with the specified details.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
impact
Defines the impact of the incident to customers and applications. If you provide an impact for an incident, it overwrites the impact provided by the response plan.
Supported impact codes
-
1
- Critical -
2
- High -
3
- Medium -
4
- Low -
5
- No Impact
- Parameters:
impact
- Defines the impact of the incident to customers and applications. If you provide an impact for an incident, it overwrites the impact provided by the response plan.Supported impact codes
-
1
- Critical -
2
- High -
3
- Medium -
4
- Low -
5
- No Impact
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
notificationTargets
UpdateIncidentRecordRequest.Builder notificationTargets(Collection<NotificationTargetItem> notificationTargets) The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
- Parameters:
notificationTargets
- The Amazon SNS targets that Incident Manager notifies when a client updates an incident.Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationTargets
UpdateIncidentRecordRequest.Builder notificationTargets(NotificationTargetItem... notificationTargets) The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
- Parameters:
notificationTargets
- The Amazon SNS targets that Incident Manager notifies when a client updates an incident.Using multiple SNS topics creates redundancy in the event that a Region is down during the incident.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notificationTargets
UpdateIncidentRecordRequest.Builder notificationTargets(Consumer<NotificationTargetItem.Builder>... notificationTargets) The Amazon SNS targets that Incident Manager notifies when a client updates an incident.
Using multiple SNS topics creates redundancy in the event that a Region is down during the 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:
-
status
The status of the incident. Possible statuses are
Open
orResolved
.- Parameters:
status
- The status of the incident. Possible statuses areOpen
orResolved
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the incident. Possible statuses are
Open
orResolved
.- Parameters:
status
- The status of the incident. Possible statuses areOpen
orResolved
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
summary
A longer description of what occurred during the incident.
- Parameters:
summary
- A longer description of what occurred during the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
A brief description of the incident.
- Parameters:
title
- A brief description of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateIncidentRecordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateIncidentRecordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-