Interface StartIncidentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartIncidentRequest.Builder,
,StartIncidentRequest> SdkBuilder<StartIncidentRequest.Builder,
,StartIncidentRequest> SdkPojo
,SdkRequest.Builder
,SsmIncidentsRequest.Builder
- Enclosing class:
StartIncidentRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) A token ensuring that the operation is called only once with the specified details.Defines the impact to the customers.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.relatedItems
(Collection<RelatedItem> relatedItems) Add related items to the incident for other responders to use.relatedItems
(Consumer<RelatedItem.Builder>... relatedItems) Add related items to the incident for other responders to use.relatedItems
(RelatedItem... relatedItems) Add related items to the incident for other responders to use.responsePlanArn
(String responsePlanArn) The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics, runbooks, title, and impact of the incident.Provide a title for the incident.default StartIncidentRequest.Builder
triggerDetails
(Consumer<TriggerDetails.Builder> triggerDetails) Details of what created the incident record in Incident Manager.triggerDetails
(TriggerDetails triggerDetails) Details of what created the incident record in Incident Manager.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
-
clientToken
A token ensuring that the operation is called only once with the specified details.
- Parameters:
clientToken
- A token ensuring that the operation is called 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 to the customers. Providing an impact overwrites the impact provided by a response plan.
Possible impacts:
-
1
- Critical impact, this typically relates to full application failure that impacts many to all customers. -
2
- High impact, partial application failure with impact to many customers. -
3
- Medium impact, the application is providing reduced service to customers. -
4
- Low impact, customer might aren't impacted by the problem yet. -
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
- Parameters:
impact
- Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan.Possible impacts:
-
1
- Critical impact, this typically relates to full application failure that impacts many to all customers. -
2
- High impact, partial application failure with impact to many customers. -
3
- Medium impact, the application is providing reduced service to customers. -
4
- Low impact, customer might aren't impacted by the problem yet. -
5
- No impact, customers aren't currently impacted but urgent action is needed to avoid impact.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
responsePlanArn
The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics, runbooks, title, and impact of the incident.
- Parameters:
responsePlanArn
- The Amazon Resource Name (ARN) of the response plan that pre-defines summary, chat channels, Amazon SNS topics, runbooks, title, and impact of the incident.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
title
Provide a title for the incident. Providing a title overwrites the title provided by the response plan.
- Parameters:
title
- Provide a title for the incident. Providing a title overwrites the title provided by the response plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerDetails
Details of what created the incident record in Incident Manager.
- Parameters:
triggerDetails
- Details of what created the incident record in Incident Manager.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggerDetails
default StartIncidentRequest.Builder triggerDetails(Consumer<TriggerDetails.Builder> triggerDetails) Details of what created the incident record in Incident Manager.
This is a convenience method that creates an instance of theTriggerDetails.Builder
avoiding the need to create one manually viaTriggerDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totriggerDetails(TriggerDetails)
.- Parameters:
triggerDetails
- a consumer that will call methods onTriggerDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartIncidentRequest.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
StartIncidentRequest.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.
-