Class CfnResponsePlan.IncidentTemplateProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ssmincidents.CfnResponsePlan.IncidentTemplateProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnResponsePlan.IncidentTemplateProperty>
- Enclosing interface:
CfnResponsePlan.IncidentTemplateProperty
@Stability(Stable)
public static final class CfnResponsePlan.IncidentTemplateProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnResponsePlan.IncidentTemplateProperty>
A builder for
CfnResponsePlan.IncidentTemplateProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.dedupeString(String dedupeString) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getDedupeString()Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getImpact()incidentTags(List<? extends Object> incidentTags) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getIncidentTags()incidentTags(IResolvable incidentTags) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getIncidentTags()notificationTargets(List<? extends Object> notificationTargets) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getNotificationTargets()notificationTargets(IResolvable notificationTargets) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getNotificationTargets()Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getSummary()Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
impact
Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getImpact()- Parameters:
impact- Defines the impact to the customers. Providing an impact overwrites the impact provided by a response plan. This parameter is required. 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:
this
-
title
Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getTitle()- Parameters:
title- The title of the incident is a brief and easily recognizable. This parameter is required.- Returns:
this
-
dedupeString
@Stability(Stable) public CfnResponsePlan.IncidentTemplateProperty.Builder dedupeString(String dedupeString) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getDedupeString()- Parameters:
dedupeString- Used to create only one incident record for an incident.- Returns:
this
-
incidentTags
@Stability(Stable) public CfnResponsePlan.IncidentTemplateProperty.Builder incidentTags(IResolvable incidentTags) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getIncidentTags()- Parameters:
incidentTags- Tags to assign to the template. When theStartIncidentAPI action is called, Incident Manager assigns the tags specified in the template to the incident.- Returns:
this
-
incidentTags
@Stability(Stable) public CfnResponsePlan.IncidentTemplateProperty.Builder incidentTags(List<? extends Object> incidentTags) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getIncidentTags()- Parameters:
incidentTags- Tags to assign to the template. When theStartIncidentAPI action is called, Incident Manager assigns the tags specified in the template to the incident.- Returns:
this
-
notificationTargets
@Stability(Stable) public CfnResponsePlan.IncidentTemplateProperty.Builder notificationTargets(IResolvable notificationTargets) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getNotificationTargets()- Parameters:
notificationTargets- The Amazon Simple Notification Service ( Amazon SNS ) targets that uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel using the Amazon SNS topics.- Returns:
this
-
notificationTargets
@Stability(Stable) public CfnResponsePlan.IncidentTemplateProperty.Builder notificationTargets(List<? extends Object> notificationTargets) Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getNotificationTargets()- Parameters:
notificationTargets- The Amazon Simple Notification Service ( Amazon SNS ) targets that uses to notify the chat channel of updates to an incident. You can also make updates to the incident through the chat channel using the Amazon SNS topics.- Returns:
this
-
summary
Sets the value ofCfnResponsePlan.IncidentTemplateProperty.getSummary()- Parameters:
summary- The summary describes what has happened during the incident.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnResponsePlan.IncidentTemplateProperty>- Returns:
- a new instance of
CfnResponsePlan.IncidentTemplateProperty - Throws:
NullPointerException- if any required attribute was not provided
-