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.BuildertriggerDetails(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.
Supported impact codes
-
1- Critical -
2- High -
3- Medium -
4- Low -
5- No Impact
- Parameters:
impact- Defines the impact to the customers. Providing an impact overwrites the impact provided by a 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.
-
-
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.Builderavoiding the need to create one manually viaTriggerDetails.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-